public interface VectorWritable2FType
'Write' interface to two-dimensional vectors with single precision elements.
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom2F(VectorReadable2FType in_v)
Set the current vector to the contents of the input vector.
|
void |
set2F(float x,
float y)
Set the current
x and y values of the current
vector. |
void |
setXF(float x)
Set the current
x value of the current vector. |
void |
setYF(float y)
Set the current
y value of the current vector. |
void copyFrom2F(VectorReadable2FType in_v)
in_v - The input vectorvoid set2F(float x,
float y)
x and y values of the current
vector.x - The new x value.y - The new y value.void setXF(float x)
x value of the current vector.x - The new x value.void setYF(float y)
y value of the current vector.y - The new y value.Copyright © 2014 <code@io7m.com> http://io7m.com