示例#1
0
    public bool InsideGasGiant(Vector3 point)
    {
        point = transform.InverseTransformPoint(point);

        return(SGT_Helper.PointInsideEllipse(new Vector2(gasGiantEquatorialRadius, GasGiantPolarRadius), point));
    }