- Joined
- Mar 17, 2008
- Messages
- 179
- Reaction score
- 116
- Points
- 43
- Location
- Southwest Pennsylginia
- Website
- sites.google.com
I wrote this some time ago following a tutorial
But I never figured out what "VECTOR3 rofs " was.
the tutorial called it a "place holder".
What is it?
C++:
VESSELSTATUS vs;
char name[256];
VECTOR3 sofs = _V(-0.46, 0, 11.25);
VECTOR3 sdir = _V(-1, 0, 0);
double svel = 4.0;
// Get vessel status structure
VECTOR3 rofs;
GetStatus (vs);
Local2Rel (sofs, vs.rpos);
GlobalRot (sdir, rofs);
vs.rvel += rofs*svel;
vs.vrot.y = 0.4;
// Create fairing as separate vessel
strcpy (name, GetName());
strcat (name, "-Fairing1");
oapiCreateVessel (name, "OmegaFairing1", vs);
the tutorial called it a "place holder".
What is it?
