Exemplo n.º 1
0
 protected override void doDeserialize(Stream stream)
 {
     centerOfMass.deserialize(stream);
     mass = stream.readDouble();
     torque.deserialize(stream);
     momentumOfInertia.deserialize(stream);
     angularMomentum.deserialize(stream);
 }
Exemplo n.º 2
0
 protected override void doDeserialize(Stream stream)
 {
     x = stream.readDouble();
     y = stream.readDouble();
     z = stream.readDouble();
 }
Exemplo n.º 3
0
        protected override void doDeserialize(Stream stream)
        {
            body.deserialize(stream);
            orbit.deserialize(stream);

            _rootRotation.deserialize(stream);
            _rotatingFrameVelocity.deserialize(stream);
            gravity.deserialize(stream);

            altitude = stream.readDouble();
            atmosphericDensity = stream.readDouble();
        }
Exemplo n.º 4
0
 protected override void doDeserialize(Stream stream)
 {
     trueAnomaly = stream.readDouble();
     eccentricity = stream.readDouble();
     parameter = stream.readDouble();
     inclination = stream.readDouble();
     LAN = stream.readDouble();
     argumentOfPeriapsis = stream.readDouble();
     timeAtPeriapsis = stream.readDouble();
     mainBody.deserialize(stream);
 }