Searched refs:newDirection (Results 1 – 3 of 3) sorted by relevance
102 void Camera::setDirection(const Vector3f& newDirection) in setDirection() argument109 camAxes.col(2) = (-newDirection).normalized(); in setDirection()122 Vector3f newDirection = mTarget - position(); in setTarget() local123 setDirection(newDirection.normalized()); in setTarget()
69 void setDirection(const Eigen::Vector3f& newDirection);
815 Vector3f newDirection = vars.vect1; in lookAt() local819 newDirection.set(pos).subtractLocal(location).normalizeLocal(); in lookAt()826 newLeft.set(newUp).crossLocal(newDirection).normalizeLocal(); in lookAt()828 if (newDirection.x != 0) { in lookAt()829 newLeft.set(newDirection.y, -newDirection.x, 0f); in lookAt()831 newLeft.set(0f, newDirection.z, -newDirection.y); in lookAt()835 newUp.set(newDirection).crossLocal(newLeft).normalizeLocal(); in lookAt()837 this.rotation.fromAxes(newLeft, newUp, newDirection); in lookAt()