Package com.jme3.math

Examples of com.jme3.math.Vector3f.toArray()


  static long hour =0;
  @Override
  public void update(float tpf) {
    if (spatial != null && enabled) {
      Vector3f camLoc = cam.getLocation();
      float[] camLF = camLoc.toArray(null);
      spatial.setLocalTranslation(camLF[0], camLF[1]+.25f, camLF[2]);
     
//      if (getUseCalendar()) {
        checkDayNight();
       
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.