Takes our 1st satellite and fills in the appropriate values in the lightsource vector
| 936 | |
| 937 | // Takes our 1st satellite and fills in the appropriate values in the lightsource vector |
| 938 | void GenerateLightSource() { |
| 939 | Terrain_sky.lightsource.x = FixCos(Terrain_sky.lightangle); |
| 940 | Terrain_sky.lightsource.z = FixSin(Terrain_sky.lightangle); |
| 941 | } |
| 942 | |
| 943 | void InitTerrain(void) { |
| 944 | int i, w, h, t; |
no test coverage detected