public class Mat33 extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
Vec3 |
ex |
Vec3 |
ey |
Vec3 |
ez |
static Mat33 |
IDENTITY |
Constructor and Description |
---|
Mat33() |
Mat33(float exx,
float exy,
float exz,
float eyx,
float eyy,
float eyz,
float ezx,
float ezy,
float ezz) |
Mat33(Vec3 argCol1,
Vec3 argCol2,
Vec3 argCol3) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
void |
getInverse22(Mat33 M) |
void |
getSymInverse33(Mat33 M) |
int |
hashCode() |
static Vec3 |
mul(Mat33 A,
Vec3 v) |
static Vec2 |
mul22(Mat33 A,
Vec2 v) |
static void |
mul22ToOut(Mat33 A,
Vec2 v,
Vec2 out) |
static void |
mul22ToOutUnsafe(Mat33 A,
Vec2 v,
Vec2 out) |
static void |
mulToOut(Mat33 A,
Vec3 v,
Vec3 out) |
static void |
mulToOutUnsafe(Mat33 A,
Vec3 v,
Vec3 out) |
void |
set(float exx,
float exy,
float exz,
float eyx,
float eyy,
float eyz,
float ezx,
float ezy,
float ezz) |
void |
set(Mat33 mat) |
void |
setIdentity() |
static void |
setScaleTransform(float scale,
Mat33 out) |
void |
setZero() |
Vec2 |
solve22(Vec2 b)
Solve A * x = b, where b is a column vector.
|
void |
solve22ToOut(Vec2 b,
Vec2 out)
Solve A * x = b, where b is a column vector.
|
Vec3 |
solve33(Vec3 b)
Solve A * x = b, where b is a column vector.
|
void |
solve33ToOut(Vec3 b,
Vec3 out)
Solve A * x = b, where b is a column vector.
|
public static final Mat33 IDENTITY
public final Vec3 ex
public final Vec3 ey
public final Vec3 ez
public Mat33()
public Mat33(float exx, float exy, float exz, float eyx, float eyy, float eyz, float ezx, float ezy, float ezz)
public void setZero()
public void set(float exx, float exy, float exz, float eyx, float eyy, float eyz, float ezx, float ezy, float ezz)
public void set(Mat33 mat)
public void setIdentity()
public final Vec2 solve22(Vec2 b)
b
- public final void solve22ToOut(Vec2 b, Vec2 out)
b
- public final Vec3 solve33(Vec3 b)
b
- public final void solve33ToOut(Vec3 b, Vec3 out)
b
- out
- the resultpublic void getInverse22(Mat33 M)
public void getSymInverse33(Mat33 M)
public static final void setScaleTransform(float scale, Mat33 out)
Copyright © 2018. All rights reserved.