Package org.spoutcraft.api.util

Examples of org.spoutcraft.api.util.MutableVector


  public Vector readVector() {
    double x = readDouble();
    double y = readDouble();
    double z = readDouble();
    return new MutableVector(x,y,z);
  }
View Full Code Here


    handle.motionY = velocity.getY();
    handle.motionZ = velocity.getZ();
  }

  public Vector getVelocity() {
    return new MutableVector(handle.motionX, handle.motionY, handle.motionZ);
  }
View Full Code Here

TOP

Related Classes of org.spoutcraft.api.util.MutableVector

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.