misha.physics
Well-known member
- Joined
- Dec 22, 2021
- Messages
- 402
- Reaction score
- 517
- Points
- 108
- Location
- Lviv
- Preferred Pronouns
- he/him
same for me buddyThis mod draws perigee and apogee for me but not orbit lines, did I do something wrong?
This mod draws perigee and apogee for me but not orbit lines, did I do something wrong?
Which Orbiter version are you using? it works with Github Orbitersame for me buddy
but I've decided to keep it quiet, figured can't bother people with all of my problems ?
int count = oapiGetVesselCount();
for (i = 0; i < count; i++) {
OBJHANDLE hV = oapiGetVesselByIndex(i);
VESSEL* hVes = oapiGetVesselInterface(hV);
OBJHANDLE hRef = hVes->GetGravityRef();
COrbit orb;
orb.Create(hVes);
orb.ReferencePole(_I_ECL, _K_ECL);
//SetClipper(pSkp2, oapiCameraTarget(), PLN_MOON);
SetClipper(pSkp2, hRef, PLN_MAIN);
DrawOrbit(pSkp2, &orb, hRef, color, ODR_APS | ODR_LON | ODR_NOD | ODR_LAB);
}
Ah maybe thats why. This addon was for a version of Orbiter Beta. As Jarmonik mentioned, its included with the Github version of Orbiter, and hopefully we get a release soon.I use standard Orbiter 2016
git clone -b d3d9client https://github.com/orbitersim/orbiter.git