Search in sources :

Example 21 with Vector3b

use of gaiasky.util.math.Vector3b in project gaiasky by langurmonkey.

the class AbstractVSOP87 method getEclipticCartesianCoordinates.

@Override
public Vector3b getEclipticCartesianCoordinates(Instant date, Vector3b out) {
    Vector3b v = getEclipticSphericalCoordinates(date, out);
    if (v == null)
        return null;
    Coordinates.sphericalToCartesian(out, out);
    return out;
}
Also used : Vector3b(gaiasky.util.math.Vector3b)

Aggregations

Vector3b (gaiasky.util.math.Vector3b)21 Vector3d (gaiasky.util.math.Vector3d)8 Vector3 (com.badlogic.gdx.math.Vector3)5 PerspectiveCamera (com.badlogic.gdx.graphics.PerspectiveCamera)3 Matrix4d (gaiasky.util.math.Matrix4d)3 Instant (java.time.Instant)2 Date (java.util.Date)2 Apfloat (org.apfloat.Apfloat)2 FileHandle (com.badlogic.gdx.files.FileHandle)1 Texture (com.badlogic.gdx.graphics.Texture)1 SpriteBatch (com.badlogic.gdx.graphics.g2d.SpriteBatch)1 ShapeRenderer (com.badlogic.gdx.graphics.glutils.ShapeRenderer)1 Matrix4 (com.badlogic.gdx.math.Matrix4)1 Vector2 (com.badlogic.gdx.math.Vector2)1 Array (com.badlogic.gdx.utils.Array)1 BillboardGalaxy (gaiasky.scenegraph.BillboardGalaxy)1 CelestialBody (gaiasky.scenegraph.CelestialBody)1 NBGalaxy (gaiasky.scenegraph.NBGalaxy)1 SceneGraphNode (gaiasky.scenegraph.SceneGraphNode)1 StarCluster (gaiasky.scenegraph.StarCluster)1