File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
packages/dev/core/src/Maths Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -887,6 +887,8 @@ export class Vector3 {
887887 private static _DownReadOnly = Vector3 . Down ( ) as DeepImmutable < Vector3 > ;
888888 private static _LeftHandedForwardReadOnly = Vector3 . Forward ( false ) as DeepImmutable < Vector3 > ;
889889 private static _RightHandedForwardReadOnly = Vector3 . Forward ( true ) as DeepImmutable < Vector3 > ;
890+ private static _LeftHandedBackwardReadOnly = Vector3 . Backward ( false ) as DeepImmutable < Vector3 > ;
891+ private static _RightHandedBackwardReadOnly = Vector3 . Backward ( true ) as DeepImmutable < Vector3 > ;
890892 private static _RightReadOnly = Vector3 . Right ( ) as DeepImmutable < Vector3 > ;
891893 private static _LeftReadOnly = Vector3 . Left ( ) as DeepImmutable < Vector3 > ;
892894 private static _ZeroReadOnly = Vector3 . Zero ( ) as DeepImmutable < Vector3 > ;
@@ -2060,6 +2062,20 @@ export class Vector3 {
20602062 return Vector3 . _RightHandedForwardReadOnly ;
20612063 }
20622064
2065+ /**
2066+ * Gets a backward Vector3 that must not be updated
2067+ */
2068+ public static get LeftHandedBackwardReadOnly ( ) : DeepImmutable < Vector3 > {
2069+ return Vector3 . _LeftHandedBackwardReadOnly ;
2070+ }
2071+
2072+ /**
2073+ * Gets a backward Vector3 that must not be updated
2074+ */
2075+ public static get RightHandedBackwardReadOnly ( ) : DeepImmutable < Vector3 > {
2076+ return Vector3 . _RightHandedBackwardReadOnly ;
2077+ }
2078+
20632079 /**
20642080 * Gets a zero Vector3 that must not be updated
20652081 */
You can’t perform that action at this time.
0 commit comments