Changeset 406 for trunk/src/rogue
- Timestamp:
- 06/20/15 00:05:17 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/rogue/fov_recursive_shadowcasting.cc
r398 r406 25 25 position max_radius = m_size-m_position; 26 26 max_radius = glm::max(max_radius,m_position); 27 m_radius = (int)glm::length((vec2)max_radius)+1;27 m_radius = static_cast<int>( glm::length( vec2( max_radius ) ) )+1; 28 28 } 29 29 m_radius2 = m_radius * m_radius;
Note: See TracChangeset
for help on using the changeset viewer.