CPSC310A
Video Game Development

Activity 10

Translation & Rotation

Details

  1. Add the following static functions to your matrix class:

    Matrix rotateX(float angle)
    Matrix rotateY(float angle)
    Matrix rotateZ(float angle)
    Matrix translate(float x, float y, float z)

Submission

Please show your source code and run your program for the instructor.