Searched refs:newUp (Results 1 – 2 of 2) sorted by relevance
816 Vector3f newUp = vars.vect2; in lookAt() local821 newUp.set(worldUpVector).normalizeLocal(); in lookAt()822 if (newUp.equals(Vector3f.ZERO)) { in lookAt()823 newUp.set(Vector3f.UNIT_Y); in lookAt()826 newLeft.set(newUp).crossLocal(newDirection).normalizeLocal(); in lookAt()835 newUp.set(newDirection).crossLocal(newLeft).normalizeLocal(); in lookAt()837 this.rotation.fromAxes(newLeft, newUp, newDirection); in lookAt()
365 public void rotateUpTo(Vector3f newUp) { in rotateUpTo() argument377 float angle = upY.angleBetween(newUp); in rotateUpTo()380 Vector3f rotAxis = upY.crossLocal(newUp).normalizeLocal(); in rotateUpTo()