|
|
|
@ -35,6 +35,7 @@ import com.jme3.math.Vector3f; |
|
|
|
|
import com.jme3.scene.Mesh; |
|
|
|
|
import com.jme3.scene.VertexBuffer; |
|
|
|
|
import com.jme3.scene.VertexBuffer.Type; |
|
|
|
|
import com.jme3.scene.VertexBuffer.Usage; |
|
|
|
|
import com.jme3.util.BufferUtils; |
|
|
|
|
import java.nio.FloatBuffer; |
|
|
|
|
|
|
|
|
@ -62,6 +63,7 @@ public class WireFrustum extends Mesh { |
|
|
|
|
3, 7, |
|
|
|
|
} |
|
|
|
|
); |
|
|
|
|
getBuffer(Type.Index).setUsage(Usage.Static); |
|
|
|
|
setMode(Mode.Lines); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|