| Package | Description |
|---|---|
| com.flowpowered.math | |
| com.flowpowered.math.matrix | |
| com.flowpowered.math.vector |
| Modifier and Type | Method and Description |
|---|---|
static Vector4f |
GenericMath.normalizeSafe(Vector4f v)
Attempts to normalize a vector.
|
| Modifier and Type | Method and Description |
|---|---|
static Vector4f |
GenericMath.normalizeSafe(Vector4f v)
Attempts to normalize a vector.
|
| Modifier and Type | Method and Description |
|---|---|
Vector4f |
Matrix4f.getColumn(int col) |
Vector4f |
Matrix4f.getRow(int row) |
Vector4f |
Matrix4f.transform(double x,
double y,
double z,
double w) |
Vector4f |
Matrix4f.transform(float x,
float y,
float z,
float w) |
Vector4f |
Matrix4f.transform(Vector4f v) |
| Modifier and Type | Method and Description |
|---|---|
static Matrix4f |
Matrix4f.createScaling(Vector4f v) |
Matrix4f |
Matrix4f.scale(Vector4f v) |
Vector4f |
Matrix4f.transform(Vector4f v) |
| Modifier and Type | Field and Description |
|---|---|
static Vector4f |
Vector4f.ONE |
static Vector4f |
Vector4f.UNIT_W |
static Vector4f |
Vector4f.UNIT_X |
static Vector4f |
Vector4f.UNIT_Y |
static Vector4f |
Vector4f.UNIT_Z |
static Vector4f |
Vector4f.ZERO |
| Modifier and Type | Method and Description |
|---|---|
Vector4f |
Vector4f.abs() |
Vector4f |
Vector4f.add(double x,
double y,
double z,
double w) |
Vector4f |
Vector4f.add(float x,
float y,
float z,
float w) |
Vector4f |
Vector4f.add(Vector4f v) |
Vector4f |
Vector4f.ceil() |
Vector4f |
Vector4f.clone() |
Vector4f |
Vector4f.div(double a) |
Vector4f |
Vector4f.div(double x,
double y,
double z,
double w) |
Vector4f |
Vector4f.div(float a) |
Vector4f |
Vector4f.div(float x,
float y,
float z,
float w) |
Vector4f |
Vector4f.div(Vector4f v) |
Vector4f |
Vector4f.floor() |
static Vector4f |
Vector4f.from(float n) |
static Vector4f |
Vector4f.from(float x,
float y,
float z,
float w) |
Vector4f |
Vector4f.max(double x,
double y,
double z,
double w) |
Vector4f |
Vector4f.max(float x,
float y,
float z,
float w) |
Vector4f |
Vector4f.max(Vector4f v) |
Vector4f |
Vector4f.min(double x,
double y,
double z,
double w) |
Vector4f |
Vector4f.min(float x,
float y,
float z,
float w) |
Vector4f |
Vector4f.min(Vector4f v) |
Vector4f |
Vector4f.mul(double a) |
Vector4f |
Vector4f.mul(double x,
double y,
double z,
double w) |
Vector4f |
Vector4f.mul(float a) |
Vector4f |
Vector4f.mul(float x,
float y,
float z,
float w) |
Vector4f |
Vector4f.mul(Vector4f v) |
Vector4f |
Vector4f.negate() |
Vector4f |
Vector4f.normalize() |
Vector4f |
Vector4f.pow(double pow) |
Vector4f |
Vector4f.pow(float power) |
Vector4f |
Vector4f.project(double x,
double y,
double z,
double w) |
Vector4f |
Vector4f.project(float x,
float y,
float z,
float w) |
Vector4f |
Vector4f.project(Vector4f v) |
Vector4f |
Vector4f.round() |
Vector4f |
Vector4f.sub(double x,
double y,
double z,
double w) |
Vector4f |
Vector4f.sub(float x,
float y,
float z,
float w) |
Vector4f |
Vector4f.sub(Vector4f v) |
Vector4f |
Vector4d.toFloat() |
Vector4f |
Vector4f.toFloat() |
Vector4f |
Vector4l.toFloat() |
Vector4f |
Vector4i.toFloat() |
Vector4f |
VectorNf.toVector4() |
Vector4f |
Vector3f.toVector4() |
Vector4f |
Vector2f.toVector4() |
Vector4f |
Vector3f.toVector4(double w) |
Vector4f |
Vector2f.toVector4(double z,
double w) |
Vector4f |
Vector3f.toVector4(float w) |
Vector4f |
Vector2f.toVector4(float z,
float w) |
| Modifier and Type | Method and Description |
|---|---|
Vector4f |
Vector4f.add(Vector4f v) |
int |
Vector4f.compareTo(Vector4f v) |
float |
Vector4f.distance(Vector4f v) |
float |
Vector4f.distanceSquared(Vector4f v) |
Vector4f |
Vector4f.div(Vector4f v) |
float |
Vector4f.dot(Vector4f v) |
Vector4f |
Vector4f.max(Vector4f v) |
Vector4f |
Vector4f.min(Vector4f v) |
Vector4f |
Vector4f.mul(Vector4f v) |
Vector4f |
Vector4f.project(Vector4f v) |
Vector4f |
Vector4f.sub(Vector4f v) |
| Constructor and Description |
|---|
Vector2f(Vector4f v) |
Vector3f(Vector4f v) |
Vector4f(Vector4f v) |
VectorNf(Vector4f v) |
Copyright © 2013–2016 Flow Powered. All rights reserved.