MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / isMirroring

Method isMirroring

src/main/java/field/linalg/Mat4.java:5706–5713  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5704
5705
5706 public boolean isMirroring()
5707 {
5708 Vec3 u = new Vec3(m00, m10, m20);
5709 Vec3 v = new Vec3(m01, m11, m21);
5710 Vec3 w = new Vec3(m02, m12, m22);
5711
5712 return u.cross(v).dot(w) < 0;
5713 }
5714
5715 @Override
5716 public Mutable duplicate() {

Callers

nothing calls this directly

Calls 2

crossMethod · 0.95
dotMethod · 0.45

Tested by

no test coverage detected