C# Class Chapter03.SphericalCoordinates, mobile_game_math_unity

Show file 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 property

public float _maxRadius
return float

_minRadius public property

public float _minRadius
return float

_radius public property

public float _radius
return float

maxAzimuth public property

public float maxAzimuth
return float

maxElevation public property

public float maxElevation
return float

minAzimuth public property

public float minAzimuth
return float

minElevation public property

public float minElevation
return float