Commit Graph

6 Commits

Author SHA1 Message Date
Paul Chote
76c8c8806e Remove desyncing fp from WPos.LerpQuadratic. Fixes #3966. 2013-10-22 22:22:09 +13:00
Paul Chote
7ab0e00948 Add IEnumerable<WPos>.Average overload. 2013-08-29 20:14:36 +12:00
Paul Chote
5976913c73 Add WPos/WVec.LerpQuadratic to simplify ballistic calculations. 2013-07-08 23:40:22 +12:00
Paul Chote
0fdffd7b6a Convert Drag to world coords. 2013-07-08 21:52:27 +12:00
Paul Chote
7c21459b48 Convert contrails to world coords. 2013-03-31 19:32:51 +13:00
Paul Chote
724ea88c3b Add new "World Coordinate" types.
These types provide fixed-point representations of distances, angles,
positions, vectors, and rotations in 3d space.

WAngle (and WRot) represents 360 degrees in 1024 units.
WRange (and WPos, WVec) represents 1 cell in 1024 units.

Distance types in yaml can be written as <cell>c<subcell>, e.g. "4c512" for 4.5 cells.
2013-03-29 20:39:27 +13:00