aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-09-23 03:04:05 +0200
committerSven Gothel <[email protected]>2023-09-23 03:04:05 +0200
commit0110b2970935040aac5ee0bfa8757982c092b939 (patch)
treee7e557714c2d26abee985ae466823e3069e4b7d4 /src
parentf2a29726c42c91694ad4e3fa9b016708876d60da (diff)
Bug 1452: PMVMatrix4f: Drop redundant unused mulWith*(Vec*...) 'v_out = M * v_in', user can simply get the desired matrix and apply its mulVec*(..) operation
Diffstat (limited to 'src')
-rw-r--r--src/jogl/classes/com/jogamp/math/util/PMVMatrix4f.java102
1 files changed, 0 insertions, 102 deletions
diff --git a/src/jogl/classes/com/jogamp/math/util/PMVMatrix4f.java b/src/jogl/classes/com/jogamp/math/util/PMVMatrix4f.java
index 826ca82f6..ec9876b24 100644
--- a/src/jogl/classes/com/jogamp/math/util/PMVMatrix4f.java
+++ b/src/jogl/classes/com/jogamp/math/util/PMVMatrix4f.java
@@ -512,108 +512,6 @@ public class PMVMatrix4f {
return matMv.mulVec3f(v_in, v_out);
}
- /**
- * v_inout = Mv * v_inout
- *
- * Affine 3f-vector transformation by 4x4 matrix, see {@link Matrix4f#mulVec3f(Vec3f, Vec3f)}.
- *
- * @param v_inout input and output vector, i.e. in-place transformation
- * @returns v_inout for chaining
- */
- public final Vec3f mulWithMv(final Vec3f v_inout) {
- return matMv.mulVec3f(v_inout);
- }
-
- /**
- * v_out = P * v_in
- * @param v_in input vector, can be v_out for in-place transformation
- * @param v_out output vector
- * @return given result vector for chaining
- * @returns v_out for chaining
- */
- public final Vec4f mulWithP(final Vec4f v_in, final Vec4f v_out) {
- return matP.mulVec4f(v_in, v_out);
- }
-
- /**
- * v_inout = P * v_inout
- * @param v_inout input and output vector, i.e. in-place transformation
- * @return given result vector for chaining
- * @returns v_inout for chaining
- */
- public final Vec4f mulWithP(final Vec4f v_inout) {
- return matP.mulVec4f(v_inout);
- }
-
- /**
- * v_out = P * v_in
- *
- * Affine 3f-vector transformation by 4x4 matrix, see {@link Matrix4f#mulVec3f(Vec3f, Vec3f)}.
- *
- * @param v_in float[3] input vector, can be v_out for in-place transformation
- * @param v_out float[3] output vector
- * @returns v_out for chaining
- */
- public final Vec3f mulWithP(final Vec3f v_in, final Vec3f v_out) {
- return matP.mulVec3f(v_in, v_out);
- }
-
- /**
- * v_inout = P * v_inout
- *
- * Affine 3f-vector transformation by 4x4 matrix, see {@link Matrix4f#mulVec3f(Vec3f, Vec3f)}.
- *
- * @param v_inout input and output vector, i.e. in-place transformation
- * @returns v_inout for chaining
- */
- public final Vec3f mulWithP(final Vec3f v_inout) {
- return matP.mulVec3f(v_inout);
- }
-
- /**
- * v_out = P * Mv * v_in
- * @param v_in float[4] input vector, can be v_out for in-place transformation
- * @param v_out float[4] output vector
- * @returns v_out for chaining
- */
- public final Vec4f mulWithPMv(final Vec4f v_in, final Vec4f v_out) {
- return matP.mulVec4f( matMv.mulVec4f( v_in, v_out ) );
- }
-
- /**
- * v_inout = P * Mv * v_inout
- * @param v_inout input and output vector, i.e. in-place transformation
- * @returns v_inout for chaining
- */
- public final Vec4f mulWithPMv(final Vec4f v_inout) {
- return matP.mulVec4f( matMv.mulVec4f( v_inout ) );
- }
-
- /**
- * v_out = P * Mv * v_in
- *
- * Affine 3f-vector transformation by 4x4 matrix, see {@link Matrix4f#mulVec3f(Vec3f, Vec3f)}.
- *
- * @param v_in float[3] input vector, can be v_out for in-place transformation
- * @param v_out float[3] output vector
- * @returns v_out for chaining
- */
- public final Vec3f mulWithPMv(final Vec3f v_in, final Vec3f v_out) {
- return matP.mulVec3f( matMv.mulVec3f( v_in, v_out ) );
- }
-
- /**
- * v_inout = P * Mv * v_inout
- *
- * Affine 3f-vector transformation by 4x4 matrix, see {@link Matrix4f#mulVec3f(Vec3f, Vec3f)}.
- *
- * @param v_inout float[3] input and output vector, i.e. in-place transformation
- * @returns v_inout for chaining
- */
- public final Vec3f mulWithPMv(final Vec3f v_inout) {
- return matP.mulVec3f( matMv.mulVec3f( v_inout ) );
- }
-
//
// GLMatrixFunc alike functionality
//