diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/src/main.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/src/main.rb b/test/src/main.rb index 84a47bd..53e92a0 100644 --- a/test/src/main.rb +++ b/test/src/main.rb @@ -47,8 +47,10 @@ def init() $camera_rotation = CandyGear::Rotation3D.new(0.0, 0.0, 0.0); color = CandyGear::Vector3D.new(0.12, 0.12, 0.18); - $view1 = CandyGear::View2D.new(CandyGear::Vector4D.new(0, 0, 1280, 360)); - $view2 = CandyGear::View3D.new(CandyGear::Vector4D.new(0, 360, 1280, 360)); + $view1 = CandyGear::View2D.new( + CandyGear::Vector4D.new(0, 0, 1280, 360), 640, 180); + $view2 = CandyGear::View3D.new( + CandyGear::Vector4D.new(0, 360, 1280, 360), 1280, 360); CandyGear.views = [$view1, $view2]; $view2.camera_position = $camera_position; |