Changeset 453 for trunk/src/engine/particle_engine.cc
- Timestamp:
- 07/30/15 20:49:02 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/engine/particle_engine.cc
r452 r453 749 749 if ( edata.angle > 0.0f ) 750 750 { 751 float emission_angle = glm::radians( edata.angle );751 float emission_angle = math::radians( edata.angle ); 752 752 float cos_theta = r.frange( math::cos( emission_angle ), 1.0f ); 753 753 float sin_theta = math::sqrt(1.0f - cos_theta * cos_theta );
Note: See TracChangeset
for help on using the changeset viewer.