Changeset 1365 for trunk/orbital/starfield.h
- Timestamp:
- May 11, 2012, 8:14:59 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/orbital/starfield.h
r1364 r1365 22 22 23 23 for (int i = 0; i < count; i++) 24 m_stars.Push(vec3(RandF( 440.f) - 220.f, z, RandF(600.f) - 300.f),24 m_stars.Push(vec3(RandF(-220.f, 220.f), z, RandF(-150.f, 300.f)), 25 25 vec3(0.f, 0.f, speed), 26 26 RandF(0.f, 10.f)); … … 44 44 if (m_stars[i].m1.z > 300.f) 45 45 { 46 m_stars[i].m1.x = RandF( 440.f) - 220.f;47 m_stars[i].m1.z = -300.f;46 m_stars[i].m1.x = RandF(-220.f, 220.f); 47 m_stars[i].m1.z = RandF(-152.f, -150.f); 48 48 } 49 49 }
Note: See TracChangeset
for help on using the changeset viewer.