/** * Converts a position in world coordinate space to an x,y screen position and depth value using the current * settings of this camera. * * @param worldPos * the position in space to retrieve screen coordinates for. * @return a new vector containing the screen coordinates as x and y and the distance as a percent between near and * far planes. */ public Vector3 getScreenCoordinates(final ReadOnlyVector3 worldPos) { return getScreenCoordinates(worldPos, null); }
/** * Converts a position in world coordinate space to an x,y screen position and depth value using the current * settings of this camera. * * @param worldPos * the position in space to retrieve screen coordinates for. * @return a new vector containing the screen coordinates as x and y and the distance as a percent between near and * far planes. */ public Vector3 getScreenCoordinates(final ReadOnlyVector3 worldPos) { return getScreenCoordinates(worldPos, null); }
SkeletalDebugger.jointText.setTranslation(Camera.getCurrentCamera().getScreenCoordinates( t.applyForward(point)));
_tRenderer.getCamera().getScreenCoordinates(_corners[i], _corners[i]);
_tRenderer.getCamera().getScreenCoordinates(_corners[i], _corners[i]);
SkeletalDebugger.jointText.setTranslation(current.getScreenCoordinates(t.applyForward(point)));