Fix viewpoint calculations on demo screen (closes #50)
This commit is contained in:
parent
606667229c
commit
1f0345f8d2
@ -3150,6 +3150,10 @@ static GLfloat sBaseMass = 0.0;
|
||||
- (HPVector) viewpointPosition
|
||||
{
|
||||
HPVector viewpoint = position;
|
||||
if (showDemoShips)
|
||||
{
|
||||
viewpoint = kZeroHPVector;
|
||||
}
|
||||
Vector offset = [self viewpointOffset];
|
||||
|
||||
// FIXME: this ought to be done with matrix or quaternion functions.
|
||||
|
Loading…
x
Reference in New Issue
Block a user