| Modifier and Type | Method and Description |
|---|---|
Vec4f |
Vec4f.addScaled(float s,
Vec4f arg)
Returns this + s * arg; creates new vector
|
Vec4f |
Vec4f.copy() |
Vec4f |
Vec4f.minus(Vec4f arg)
Returns this - arg; creates new vector
|
Vec4f |
Vec4f.plus(Vec4f arg)
Returns this + arg; creates new vector
|
Vec4f |
Vec4f.times(float val)
Returns this * val; creates new vector
|
| Modifier and Type | Method and Description |
|---|---|
void |
Vec4f.add(Vec4f b)
this = this + b
|
void |
Vec4f.add(Vec4f a,
Vec4f b)
this = a + b
|
Vec4f |
Vec4f.addScaled(float s,
Vec4f arg)
Returns this + s * arg; creates new vector
|
void |
Vec4f.addScaled(Vec4f a,
float s,
Vec4f b)
this = a + s * b
|
void |
Vec4f.componentMul(Vec4f arg)
Sets each component of this vector to the product of the
component with the corresponding component of the argument
vector.
|
float |
Vec4f.dot(Vec4f arg) |
Vec4f |
Vec4f.minus(Vec4f arg)
Returns this - arg; creates new vector
|
Vec4f |
Vec4f.plus(Vec4f arg)
Returns this + arg; creates new vector
|
void |
Vec4f.set(Vec4f arg) |
void |
Vec4f.sub(Vec4f b)
this = this - b
|
void |
Vec4f.sub(Vec4f a,
Vec4f b)
this = a - b
|
void |
Mat4f.xformVec(Vec4f src,
Vec4f dest)
Multiply a 4D vector by this matrix.
|
| Constructor and Description |
|---|
Vec4f(Vec4f arg) |
Copyright © 2007–2017 Gephi Consortium. All rights reserved.