VisionEgg.ThreeDeeMath.TransformMatrix

Package VisionEgg :: Module ThreeDeeMath :: Class TransformMatrix |
[frames] | no frames]

# Class TransformMatrix

source code

Instance Methods
__init__(self, matrix=None) | source code
rotate(self, angle_degrees, axis_x, axis_y, axis_z) Follows the right hand rule. | source code
translate(self, x, y, z) | source code
scale(self, x, y, z) | source code
get_matrix(self) | source code
transform_vertices(self, verts) | source code

Method Details

### rotate(self, angle_degrees, axis_x, axis_y, axis_z) | source code
    Follows the right hand rule.

    I visualize the right hand rule most easily as follows:
    Naturally, using your right hand, wrap it around the axis of
    rotation. Your fingers now point in the direction of rotation.