LookAtCamera class
Base classes
- class Camera
Derived classes
- class OrthoCamera
Constructors, destructors, conversion operators
- LookAtCamera() defaulted
- LookAtCamera(const Vector3f& pos, const Vector3f& at, const Vector3f& up)
- ~LookAtCamera() defaulted override
Public functions
- void doUpdateMatrix(Matrix34f* dst) const override
- auto getPos() -> Vector3f&
- auto getAt() -> Vector3f&
- auto getUp() -> Vector3f&
- auto getPos() const -> const Vector3f&
- auto getAt() const -> const Vector3f&
- auto getUp() const -> const Vector3f&
- void setPos(const Vector3f& pos)
- void setAt(const Vector3f& at)
- void setUp(const Vector3f& up)
- void normalizeUp()
- void addPos(const Vector3f& pos)
- void addAt(const Vector3f& at)
- void getWorldPosByMatrix(Vector3f* dst) const
- void getLookVectorByMatrix(Vector3f* dst) const
- void getRightVectorByMatrix(Vector3f* dst) const
- void getUpVectorByMatrix(Vector3f* dst) const
- void worldPosToCameraPosByMatrix(Vector3f* dst, const Vector3f& world_pos) const
- void cameraPosToWorldPosByMatrix(Vector3f* dst, const Vector3f& camera_pos) const
- void projectByMatrix(Vector2f* dst, const Vector3f& world_pos, const Projection& projection, const Viewport& viewport) const
- void unprojectRayByMatrix(Ray<Vector3f>* dst, const Vector3f& camera_pos) const
- auto getMatrix() -> Matrix34f&
- auto getMatrix() const -> const Matrix34f&
- void updateViewMatrix()