/** * Defines an elliptical orbit around a point with no orbital inclination. * * @param focalPoint Point which the {@link ATransformable3D} orbits around. * @param periapsis Point which the object passes closest to the focal point. * @param eccentricity Eccentricity of the orbit. Zero value results in a circular orbit. * @param direction Direction of the orbit. */ public EllipticalOrbitAnimation3D( Vector3 focalPoint, Vector3 periapsis, double eccentricity, double angle, OrbitDirection direction) { this(focalPoint, periapsis, Vector3.getAxisVector(Axis.Y), eccentricity, angle, direction); }
/** * Defines an elliptical orbit around a point with no orbital inclination. * * @param focalPoint Point which the {@link ATransformable3D} orbits around. * @param periapsis Point which the object passes closest to the focal point. * @param eccentricity Eccentricity of the orbit. Zero value results in a circular orbit. * @param axis Axis of the orbit. * @param angle Degrees to rotate. */ public EllipticalOrbitAnimation3D( Vector3 focalPoint, Vector3 periapsis, double eccentricity, Axis axis, double angle) { this(focalPoint, periapsis, Vector3.getAxisVector(axis), eccentricity, angle); }