Home | History | Annotate | Download | only in texture

Lines Matching refs:sphere

17 import com.jme3.scene.shape.Sphere;
39 //creating a sphere
40 Sphere sphere = new Sphere(32, 32, 1);
42 sphere.updateBound();
43 BoundingBox bb = (BoundingBox) sphere.getBound();
46 //we need to change the UV coordinates (the sphere is assumet to be inside the 3D image box)
47 sphere.clearBuffer(Type.TexCoord);
48 VertexBuffer vb = sphere.getBuffer(Type.Position);
61 sphere.setBuffer(uvCoordsBuffer);
63 Geometry g = new Geometry("sphere", sphere);