The Matrix4 module currently includes a function transform for applying a Mat4 to a Vec3, but no function for applying a Mat4 to an arbitrary Vec4. I'm using this package for some calculations involving four-dimensional geometry, so having this function would be extremely useful!
The
Matrix4module currently includes a functiontransformfor applying aMat4to aVec3, but no function for applying aMat4to an arbitraryVec4. I'm using this package for some calculations involving four-dimensional geometry, so having this function would be extremely useful!