Esempio n. 1
0
        internal void setupMoon()
        {
            myPintype            = pintype.Moon;
            star                 = RSDESManager.ins.Moon;
            RSDESManager.moonPin = this;
            setupPin();

            star.GetComponent <MeshRenderer>().material = RSDESManager.ins.MoonMaterial;
        }
Esempio n. 2
0
        internal void setupSouthPole()
        {
            myPintype = pintype.southPole;
            star      = null;
            RSDESManager.southPolePin = this;
            Latlong = new Vector2(-90, 0);
            setupPin();

            //this.transform.position = GeoPlanetMaths.directionFromLatLong(latlong) * RSDESManager.EarthRadius + RSDESManager.earthPos;
            //this.transform.rotation = Quaternion.FromToRotation(Vector3.down, GeoPlanetMaths.directionFromLatLong(latlong).normalized);
        }