Gave back to suns their coronas.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1619 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
293e4693aa
commit
1a04936501
@ -158,6 +158,7 @@ OOMatrix OOMatrixForBillboard(Vector bbPos, Vector eyePos)
|
||||
Vector v0, v1, v2, arbv;
|
||||
|
||||
v0 = vector_subtract(bbPos, eyePos);
|
||||
v0 = vector_normal_or_fallback(v0, kBasisZVector);
|
||||
|
||||
// arbitrary axis - not aligned with v0
|
||||
if (EXPECT_NOT(v0.x == 0.0 && v0.y == 0.0)) arbv = kBasisXVector;
|
||||
|
Loading…
x
Reference in New Issue
Block a user