StaticaddStaticclampStaticdistanceStaticdotStaticequalsStaticfloorStaticfromfromString
Gets a VectorXZ from the string representation produced by VectorXZUtils.toString. If any numeric value is not a number or the format is invalid, undefined is returned.
The string to parse
Optionaldelimiter: stringThe delimiter used to separate the components. Defaults to the same as the default for VectorXZUtils.toString
StaticlerpStaticmagnitudeStaticmultiplymultiply
Element-wise multiplication of two vectors together. Not to be confused with VectorXZUtils.dot product
StaticnormalizeStaticscaleStaticslerpStaticsubtractStatictotoString
Create a string representation of a vectorxz
Optionaloptions: { decimals?: number; delimiter?: string }
Utilities operating on VectorXZ objects. All methods are static and do not modify the input objects.