Update models_rlgl_solar_system.c
This commit is contained in:
parent
22e1e86c52
commit
5cd7202777
|
|
@ -66,8 +66,6 @@ int main(void)
|
||||||
{
|
{
|
||||||
// Update
|
// Update
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
UpdateCamera(&camera, CAMERA_ORBITAL);
|
|
||||||
|
|
||||||
earthRotation += (5.0f*rotationSpeed);
|
earthRotation += (5.0f*rotationSpeed);
|
||||||
earthOrbitRotation += (365/360.0f*(5.0f*rotationSpeed)*rotationSpeed);
|
earthOrbitRotation += (365/360.0f*(5.0f*rotationSpeed)*rotationSpeed);
|
||||||
moonRotation += (2.0f*rotationSpeed);
|
moonRotation += (2.0f*rotationSpeed);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user