Package com.jme.math

Examples of com.jme.math.Vector3f.divide()


      if( ! textureHere.equals( textureAbove )) {
        System.out.println("The points " + here.toString() + "and " + above.toString() + " are on different textures " );
        Vector3f avg = new Vector3f();
        avg = avg.add( here  );
        avg = avg.add( above );
        avg = avg.divide( 2.0f );
        BufferUtils.setInBuffer( avg, tb.getVertexBuffer(), indexMain );
        BufferUtils.setInBuffer( avg, tb.getVertexBuffer(), indexAbove );
      }
     
    }
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.