Home
last modified time | relevance | path

Searched refs:latitudeAngle (Results 1 – 2 of 2) sorted by relevance

/dports/math/scilab/scilab-6.1.1/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/utils/shapes/geometry/
H A DSphereFactory.java127 double latitudeAngle = latitude * Math.PI / (latitudeResolution - 1); in createVertexData() local
129 float z = (float) (radius * Math.cos(latitudeAngle)); in createVertexData()
130 float discRadius = (float) (radius * Math.sin(latitudeAngle)); in createVertexData()
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/graphics/engine/
H A Dengine.cpp3663 float latitudeAngle = (latitude - 0.5f) * 2.0f * Math::PI; in RenderDebugSphere() local
3665 return Math::Vector(sinf(latitudeAngle) * cosf(longitudeAngle), in RenderDebugSphere()
3666 cosf(latitudeAngle), in RenderDebugSphere()
3667 sinf(latitudeAngle) * sinf(longitudeAngle)); in RenderDebugSphere()