API:Vector3d

From Kerbal Space Program Wiki
Revision as of 20:50, 5 October 2012 by N3X15 (talk | contribs) (N3X15 moved page Vector3d to API:Vector3d)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Vector3d class is a mirror of Unity's Vector3 class, except that Vector3d uses doubles whereas Vector3 uses floats. The game mostly uses Vector3d's, presumably to reduce the influence of floating point precision errors. You can check out the Unity documentation for Vector3 and it should also apply to Vector3d.