Lines Matching defs:camera
58 * Determines how the billboard is aligned to the screen/camera.
67 * Aligns this Billboard to the camera position.
143 * Aligns this Billboard so that it points to the camera position.
145 * @param camera
148 private void rotateCameraAligned(Camera camera) {
149 look.set(camera.getLocation()).subtractLocal(
176 // The billboard must be oriented to face the camera before it is
184 * camera's facing
186 * @param camera
189 private void rotateScreenAligned(Camera camera) {
191 look.set(camera.getDirection()).negateLocal();
193 left.set(camera.getLeft()).negateLocal();
194 orient.fromAxes(left, camera.getUp(), look);
206 * Rotate the billboard towards the camera, but keeping a given axis fixed.
208 * @param camera
211 private void rotateAxial(Camera camera, Vector3f axis) {
213 // the camera. To do this, the camera must be inverse-transformed into
215 look.set(camera.getLocation()).subtractLocal(
223 // squared length of the camera projection in the xz-plane
226 // camera on the billboard axis, rotation not defined
264 // The billboard must be oriented to face the camera before it is