A little clean up
This commit is contained in:
parent
0f6fa035aa
commit
11402f577a
8 changed files with 234 additions and 407 deletions
|
|
@ -36,9 +36,9 @@ namespace tp {
|
|||
void offset_target(halnf val);
|
||||
|
||||
public:
|
||||
[[nodiscard]] Mat4F calculateTransformationMatrix();
|
||||
[[nodiscard]] Mat4F calculateTransformationMatrix() const;
|
||||
[[nodiscard]] Mat<halnf, 4, 4> calculateProjectionMatrix() const;
|
||||
[[nodiscard]] Mat<halnf, 4, 4> calculateViewMatrix();
|
||||
[[nodiscard]] Mat<halnf, 4, 4> calculateViewMatrix() const;
|
||||
[[nodiscard]] Vec3F project(Vec2F normalized);
|
||||
[[nodiscard]] Vec2F project(const Vec3F& world);
|
||||
[[nodiscard]] static Vec2F project(const tp::Vec3F& world, const tp::Mat4F& viewMat, const tp::Mat4F& projMat);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue