Exemple #1
0
 public function testViewMatrixValues()
 {
     $expectedView = 'mat4x4((1.000000, 0.000000, -0.000000, 0.000000), (0.000000, 1.000000, 0.000000, 0.000000), (0.000000, 0.000000, 1.000000, 0.000000), (0.000000, 0.000000, 0.000000, 1.000000))';
     $camera = new Camera();
     $this->assertEquals($expectedView, $camera->getViewMatrix()->__toString());
 }