Пример #1
0
 private void init() {
   mBox = new BoundingBox(mVertexBuffers.getVertexBuffer());
   t = new Matrix4f();
   t.setIdentity();
   mZeroVector = new Vector3f(0, 0, 0);
   mEpsilon = 0.001f;
 }
Пример #2
0
 public void transform(Matrix4f t) {
   t.transform(mX);
   t.transform(mY);
   t.transform(mZ);
 }