JOML-CI / JOML

A Java math library for OpenGL rendering calculations
MIT License
729 stars 104 forks source link

Matrix3f and Matrix4f have inconsistency #356

Closed menackni closed 2 months ago

menackni commented 2 months ago

Hi.

While in Matrix3f variables are public, in Matrix4f they have no modifiers so i cannot access it directly from another class.

Matrix3f: public float m00, m01, m02;

Matrix4f: float m00, m01, m02, m03;

httpdigest commented 2 months ago

You hardly would ever need to access the individual matrix elements. And if you do need it, you can use the accessor methods (m00() instead if m00).

httpdigest commented 2 months ago

Duplicate of #324, #167, #156, #130