Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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.)

share|improve this question
add comment

5 Answers

up vote 22 down vote accepted

transform, or transformation

http://en.wikipedia.org/wiki/Transformation_matrix

share|improve this answer
add comment

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).

share|improve this answer
add comment

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).

share|improve this answer
add comment

I've seen several engines shorten the term to Xform as well.

share|improve this answer
add comment

Some variant of Transform or Transformation would work.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.