KSP-KOS/KOS — pull request #402 by erendrake (2014-11-18 18:49:55+00:00)
Title: review comments

there exists an implicit cast between ksp Vector3 and Vector3d and kos Vector and Vector3d. I have not run this in game but these should all be equivalent statements

This is the operator overloads in KSP's vector class

public static implicit operator Vector3(Vector3d v)
{
return new Vector3((float) v.x, (float) v.y, (float) v.z);
}

public static implicit operator Vector3d(Vector3 v)
{
return new Vector3d((double) v.x, (double) v.y, (double) v.z);
}