diff options
Diffstat (limited to 'src/v/VMaths.java')
-rw-r--r-- | src/v/VMaths.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/v/VMaths.java b/src/v/VMaths.java index d52c12a..6e60af5 100644 --- a/src/v/VMaths.java +++ b/src/v/VMaths.java @@ -226,6 +226,11 @@ public class VMaths return rc; } + public static float[][] on_inv(float[][] m) + { + return trans(m); + } + public static float[][] inv(float[][] m) { return mul(1f / det(m), trans(m)); |