Package 

Class Mat2

  • All Implemented Interfaces:

    
    public final class Mat2
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Vec2 row1
      private Vec2 row2
    • Constructor Summary

      Constructors 
      Constructor Description
      Mat2() Default constructor matrix (0,0),(0,0) by default.
      Mat2(Double radians) Constructs and sets the matrix up to be a rotation matrix that stores the angle specified in the matrix.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • Mat2

        Mat2()
        Default constructor matrix (0,0),(0,0) by default.
      • Mat2

        Mat2(Double radians)
        Constructs and sets the matrix up to be a rotation matrix that stores the angle specified in the matrix.
        Parameters:
        radians - The desired angle of the rotation matrix