1 /* 2 * Copyright 2012-2013 Tri-Edge AI <triedgeai@gmail.com> 3 * Copyright 2014 Haiku, Inc. All rights reserved. 4 * 5 * Distributed under the terms of the MIT license. 6 * 7 * Authors: 8 * Tri-Edge AI 9 * John Scipione, jscipione@gmail.com 10 */ 11 12 #ifndef GRAVITY_SOURCE_H 13 #define GRAVITY_SOURCE_H 14 15 16 struct GravitySource { 17 float x; 18 float y; 19 float z; 20 float r; 21 22 float vx; 23 float vy; 24 float vz; 25 26 float tx; 27 float ty; 28 float tz; 29 30 GravitySource(); 31 32 void Tick(); 33 }; 34 35 36 #endif // GRAVITY_SOURCE_H 37