C# Class Chapter03.SphericalCoordinates, mobile_game_math_unity

Datei anzeigen Open project: ryukbk/mobile_game_math_unity

Public Properties

Property Type Description
_maxRadius float
_minRadius float
_radius float
maxAzimuth float
maxElevation float
minAzimuth float
minElevation float

Public Methods

Method Description
Rotate ( float newAzimuth, float newElevation ) : SphericalCoordinates,
SphericalCoordinates ( ) : System.Collections
SphericalCoordinates ( Vector3 cartesianCoordinate ) : System.Collections
TranslateRadius ( float x ) : SphericalCoordinates,

Method Details

Rotate() public method

public Rotate ( float newAzimuth, float newElevation ) : SphericalCoordinates,
newAzimuth float
newElevation float
return SphericalCoordinates,

SphericalCoordinates() public method

public SphericalCoordinates ( ) : System.Collections
return System.Collections

SphericalCoordinates() public method

public SphericalCoordinates ( Vector3 cartesianCoordinate ) : System.Collections
cartesianCoordinate Vector3
return System.Collections

TranslateRadius() public method

public TranslateRadius ( float x ) : SphericalCoordinates,
x float
return SphericalCoordinates,

Property Details

_maxRadius public_oe property

public float _maxRadius
return float

_minRadius public_oe property

public float _minRadius
return float

_radius public_oe property

public float _radius
return float

maxAzimuth public_oe property

public float maxAzimuth
return float

maxElevation public_oe property

public float maxElevation
return float

minAzimuth public_oe property

public float minAzimuth
return float

minElevation public_oe property

public float minElevation
return float