I'm looking for a name for my class that manipulates 4x4 matrices that handle position, rotation, and scale. Is there a common word that encompasses all three?
(I'm splitting the matrix math into its own file/class.)
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up.
Sign up to join this communityI'm looking for a name for my class that manipulates 4x4 matrices that handle position, rotation, and scale. Is there a common word that encompasses all three?
(I'm splitting the matrix math into its own file/class.)
transform, or transformation
If you add shear to your list (although rarely used in games), it is generally known in mathematics as an affine transformation.
The general term 'transformation' has been mentioned already, is a usually considered a superset and includes projection transformations as well (which are not affine).
I've seen PRS used (position, rotation, scale), but "transformation matrix" is a pretty informative name, and also covers other kinds of transformations (skewing etc).
I've seen several engines shorten the term to Xform
as well.
Some variant of Transform
or Transformation
would work.