Merge pull request #60309 from The-O-King/oct

This commit is contained in:
Rémi Verschelde
2022-08-22 19:29:21 +02:00
committed by GitHub
12 changed files with 203 additions and 186 deletions

View File

@ -112,6 +112,8 @@ struct _NO_DISCARD_ Vector3 {
Vector2 octahedron_encode() const;
static Vector3 octahedron_decode(const Vector2 &p_oct);
Vector2 octahedron_tangent_encode(const float sign) const;
static Vector3 octahedron_tangent_decode(const Vector2 &p_oct, float *sign);
_FORCE_INLINE_ Vector3 cross(const Vector3 &p_with) const;
_FORCE_INLINE_ real_t dot(const Vector3 &p_with) const;