We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33c874c commit 846f5a2Copy full SHA for 846f5a2
examples/window/Box2D.WindowTests/Program.cs
@@ -8,6 +8,7 @@ Window Simulation Copyright © Ben Ukhanov 2020
8
using Box2DX.Collision;
9
using Box2DX.Common;
10
using Box2DX.Dynamics;
11
+using OpenTK;
12
13
namespace Box2D.WindowTests
14
{
@@ -27,7 +28,7 @@ private static void Main()
27
28
var game = new SimulationWindow("Physics Simulation", 800, 600);
29
game.UpdateFrame += OnUpdateFrame;
30
game.Disposed += OnDisposed;
- game.SetView(new CameraView());
31
+ game.SetView(new CameraView(position: Vector2.Zero, zoom: 0.008f));
32
33
var physicsDrawer = new DrawPhysics(game);
34
physicsDrawer.AppendFlags(DebugDraw.DrawFlags.Aabb);
0 commit comments