pull/1/head
E. Almqvist 3 years ago
parent 9a328ce434
commit 2efbc45322
  1. 1
      app.rb

@ -34,6 +34,7 @@ planet = PhysCube.new(window, 16, 16, 0xff_aaffaa)
planet.pos = Vector[800, 450]
cube = PhysCube.new(window, 8, 8)
cube.accel = planet.pos * 0.001
cube.vel = Vector[2, 0]
window.physobjs << planet

Loading…
Cancel
Save