Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(14)  |  Derive(0)  |  Import(0)

src/p/y/PyGLy-HEAD/pygly/examples/scene_sorting.py   PyGLy(Download)
                # apply the camera's model view to the node's matrix
                current_mv = pyrr.matrix44.multiply(
                    world_matrix,
                    model_view
                    )

src/p/y/PyGLy-HEAD/pygly/examples/scene_scene_graph.py   PyGLy(Download)
                # apply the camera's model view to the node's matrix
                current_mv = pyrr.matrix44.multiply(
                    world_matrix,
                    model_view
                    )

src/p/y/pygly-20121125/pygly/camera_node.py   pygly(Download)
        # multiply by our inverse world transform
        matrix = matrix44.multiply(
            matrix44.create_from_translation(
                -self.world_transform.translation
                ),
            self.world_transform.scale
            )
        matrix44.multiply( matrix, scale_matrix )
 
        translate_matrix = matrix44.create_from_translation(
            self.world_transform.translation
            )
        matrix44.multiply( matrix, translate_matrix )

src/p/y/PyGLy-HEAD/pygly/transform.py   PyGLy(Download)
            # apply our quaternion
            self._matrix = matrix44.multiply(
                self._matrix,
                matrix44.create_from_quaternion( self.orientation )
                )
 
            # apply our translation
            # we MUST do this after the orientation
            self._matrix = matrix44.multiply(
                self._matrix,

src/p/y/pygly-20121125/pygly/transform.py   pygly(Download)
            # apply our quaternion
            self._matrix = matrix44.multiply(
                self._matrix,
                matrix44.create_from_quaternion( self.orientation )
                )
 
            # apply our translation
            # we MUST do this after the orientation
            self._matrix = matrix44.multiply(
                self._matrix,

src/p/y/PyGLy-HEAD/pygly/world_transform.py   PyGLy(Download)
            else:
                self._matrix = matrix44.multiply(
                    self._transform.matrix,
                    self.parent.matrix
                    )

src/p/y/pygly-20121125/pygly/world_transform.py   pygly(Download)
            else:
                self._matrix = matrix44.multiply(
                    self._transform.matrix,
                    self.parent.matrix
                    )

src/p/y/Pyrr-HEAD/pyrr/test/test_matrix44.py   Pyrr(Download)
    def check_projection_classifies_point_correctly( self, matrix, point, is_inside ):
        transformed = matrix44.multiply( point, matrix )
 
        # Avoid division by zero warning
        if transformed[ 3 ] == 0:

src/p/y/PyGLy-HEAD/pygly/test/test_scene_node.py   PyGLy(Download)
 
        child_matrix = matrix44.multiply(
            matrix44.create_from_x_rotation( math.pi ),
            child_matrix
            )
 
        child_world = matrix44.multiply( child_matrix, root_matrix )