More Related Content
Similar to Ddp Cs3.0 Solar System
Similar to Ddp Cs3.0 Solar System (20)
Ddp Cs3.0 Solar System
- 1. DDD with C# 3.0 features: Solar System Simulation Andre Boonzaaijer, Pieter-Joost van de Sande {aboonzaaijer, pjvdsande}@sogyo.nl
- 15. Gravity (x,y) force = 0; Foreach body in universe force += body.getForce(x,y); body.move(force);