-
Notifications
You must be signed in to change notification settings - Fork 6
Vector
Gregor Steiner edited this page May 6, 2014
·
2 revisions
ToScreen(Vector vec)
- Return value: Vector cross
- Get the dot product of a vector
Distance(Vector vec)
- Return value: Number dist
- Get the distance between two vectors
DistanceSqr(Vector vec)
- Return value: Number dist
- Get the distance between two vectors, squared
- Return value: Number dot
- Get the dot product of a vector
- Return value: Vector norm
- Get the normalized vector
- Return value: Number len
- Get the length of a vector
- Return value: nil
- Normalize the vector. Doesn't return anything, but it directly modifies the vector.