| Package | Description |
|---|---|
| com.io7m.jtensors |
| Modifier and Type | Method and Description |
|---|---|
static MatrixM4x4F |
MatrixM4x4F.addRowScaledWithContext(MatrixM4x4F.Context context,
MatrixReadable4x4FType m,
int row_a,
int row_b,
int row_c,
double r,
MatrixM4x4F out)
Add the values in row
row_b to the values in row
row_a scaled by r, saving the resulting row in
row row_c of the matrix out. |
static MatrixM4x4F |
MatrixM4x4F.exchangeRowsInPlaceWithContext(MatrixM4x4F.Context context,
MatrixM4x4F m,
int row_a,
int row_b)
Exchange the row
row_a and row row_b of the
matrix m, saving the exchanged rows to m. |
static MatrixM4x4F |
MatrixM4x4F.exchangeRowsWithContext(MatrixM4x4F.Context context,
MatrixReadable4x4FType m,
int row_a,
int row_b,
MatrixM4x4F out)
Exchange two rows
row_a and row row_b of the
matrix m, saving the exchanged rows to out . |
static com.io7m.jfunctional.OptionType<MatrixM4x4F> |
MatrixM4x4F.invertInPlaceWithContext(MatrixM4x4F.Context context,
MatrixM4x4F m)
Calculate the inverse of the matrix
m, saving the resulting
matrix to m. |
static com.io7m.jfunctional.OptionType<MatrixM4x4F> |
MatrixM4x4F.invertWithContext(MatrixM4x4F.Context context,
MatrixReadable4x4FType m,
MatrixM4x4F out)
Calculate the inverse of the matrix
m, saving the resulting
matrix to out. |
static void |
MatrixM4x4F.lookAtWithContext(MatrixM4x4F.Context context,
VectorReadable3FType origin,
VectorReadable3FType target,
VectorReadable3FType up,
MatrixM4x4F out_matrix)
Calculate a matrix representing a "camera" looking from the point
origin to the point target. |
static VectorM4F |
MatrixM4x4F.multiplyVector4FWithContext(MatrixM4x4F.Context context,
MatrixReadable4x4FType m,
VectorReadable4FType v,
VectorM4F out)
Multiply the matrix
m with the vector v,
writing the resulting vector to out. |
static MatrixM4x4F |
MatrixM4x4F.rotateInPlaceWithContext(MatrixM4x4F.Context context,
double angle,
MatrixM4x4F m,
VectorReadable3FType axis)
Rotate the matrix
m by angle radians around the
axis axis, saving the result into m. |
static MatrixM4x4F |
MatrixM4x4F.rotateWithContext(MatrixM4x4F.Context context,
double angle,
MatrixReadable4x4FType m,
VectorReadable3FType axis,
MatrixM4x4F out)
Rotate the matrix
m by angle radians around the
axis axis, saving the result into out. |
static MatrixM4x4F |
MatrixM4x4F.scaleRowInPlaceWithContext(MatrixM4x4F.Context context,
MatrixM4x4F m,
int row,
double r)
Scale row
row of the matrix m by r
, saving the result to row r of m. |
static MatrixM4x4F |
MatrixM4x4F.scaleRowWithContext(MatrixM4x4F.Context context,
MatrixReadable4x4FType m,
int row,
double r,
MatrixM4x4F out)
Scale row
row of the matrix m by r
, saving the result to row r of out. |
Copyright © 2015 <code@io7m.com> http://io7m.com