Searched refs:latitudeAngle (Results 1 – 2 of 2) sorted by relevance
127 double latitudeAngle = latitude * Math.PI / (latitudeResolution - 1); in createVertexData() local129 float z = (float) (radius * Math.cos(latitudeAngle)); in createVertexData()130 float discRadius = (float) (radius * Math.sin(latitudeAngle)); in createVertexData()
3663 float latitudeAngle = (latitude - 0.5f) * 2.0f * Math::PI; in RenderDebugSphere() local3665 return Math::Vector(sinf(latitudeAngle) * cosf(longitudeAngle), in RenderDebugSphere()3666 cosf(latitudeAngle), in RenderDebugSphere()3667 sinf(latitudeAngle) * sinf(longitudeAngle)); in RenderDebugSphere()