Hey there. Hope you are doing fine.
Could you quickly show me how you can apply a transform matrix to a vector?
I know you have to convert it to a Vector4f so you can multiply it with a matrix4f but
Vector4f := Matrix4f * Vector4f;
doesn't seem to be it
Just missing the proper syntax here I guess.
I want to be able to attach point like entities (lights, cameras) to a model, therefore transforming the point together with the model.
Could you quickly show me how you can apply a transform matrix to a vector?
I know you have to convert it to a Vector4f so you can multiply it with a matrix4f but
Vector4f := Matrix4f * Vector4f;
doesn't seem to be it
Just missing the proper syntax here I guess.
I want to be able to attach point like entities (lights, cameras) to a model, therefore transforming the point together with the model.


Comment