|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ROVector2
A readonly two dimensional vector
| Method Summary | |
|---|---|
float |
dot(ROVector2 other)
Get the dot product of this vector and another |
float |
getX()
Get the X component of this vector |
float |
getY()
Get the Y component of this vector |
float |
length()
Get the length of this vector |
float |
lengthSquared()
The length of the vector squared |
void |
projectOntoUnit(ROVector2 b,
Vector2 result)
Project this vector onto another |
| Method Detail |
|---|
float getX()
float getY()
float length()
float dot(ROVector2 other)
other - The other vector to dot against
void projectOntoUnit(ROVector2 b,
Vector2 result)
b - The vector to project ontoresult - The projected vectorfloat lengthSquared()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||