Deprecate the Direction properties and replace with forward. Also give more descriptive description of what they do.

This commit is contained in:
Jake Young
2026-05-08 13:48:28 -04:00
parent 9957166723
commit ba48b2e4f3
2 changed files with 23 additions and 0 deletions
+5
View File
@@ -822,6 +822,11 @@ void Actor::SetRotation(const Matrix& value)
}
void Actor::SetDirection(const Float3& value)
{
SetForward(value);
}
void Actor::SetForward(const Float3& value)
{
CHECK(!value.IsNanOrInfinity());
Quaternion orientation;