May I suggest you enable "visual confirmation" for forum registrations? The spam is just starting. It'll get much worse. :x
Thanks,
Jim
Thanks,
Jim
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
SimpleVector currentRay = Interact2D.reproject2D3D(theWorld.getCamera(), buffer, e.getX(), e.getY());
currentRay.normalize();
//deal with the camera space
Matrix orient2 = theWorld.getCamera().getFront();
float[] dump2 = orient2.getDump();
SimpleVector ray2 = new SimpleVector();
ray2.x = dump2[0] * currentRay.x + dump2[1] * currentRay.y + dump2[2] * currentRay.z + dump2[3] * 1;
ray2.y = dump2[4] * currentRay.x + dump2[5] * currentRay.y + dump2[6] * currentRay.z + dump2[7] * 1;
ray2.z = dump2[8] * currentRay.x + dump2[9] * currentRay.y + dump2[10] * currentRay.z + dump2[11] * 1;
ray2.y = lastPiece.getOrigin().y;
ray2.scalarMul(50);
lastPiece.setOrigin(ray2);
lastX = e.getX();
lastY = e.getY();
Page created in 0.017 seconds with 9 queries.