lib/mittsu/extras/helpers/camera_helper.rb in mittsu-0.1.2 vs lib/mittsu/extras/helpers/camera_helper.rb in mittsu-0.1.3

- old
+ new

@@ -73,13 +73,13 @@ @camera = camera @matrix = camera.matrix_world @matrix_auto_update = false - update + update_points end - def update + def update_points w = 1.0 h = 1.0 # we need just camera projection matrix # world matrix must be identity