Added GetForward() and GetBackward() methods to Transform class.

This commit is contained in:
intolerantape
2021-08-23 01:47:17 -07:00
parent 6107af3cca
commit eb928091b6

View File

@@ -312,6 +312,16 @@ public:
{
return Vector3::Transform(Vector3::Down, Orientation);
}
FORCE_INLINE Vector3 GetForward() const
{
return Vector3::Transform(Vector3::Forward, Orientation);
}
FORCE_INLINE Vector3 GetBackward() const
{
return Vector3::Transform(Vector3::Backward, Orientation);
}
public: