Ignore:
Timestamp:
07/31/15 20:25:22 (10 years ago)
Author:
epyon
Message:
  • math library work
  • glm only referenced in math/common.hh
  • still a lot work to do, but its WURF
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/rogue/fov_recursive_shadowcasting.cc

    r406 r454  
    2424        {
    2525                position max_radius = m_size-m_position;
    26                 max_radius = glm::max(max_radius,m_position);
    27                 m_radius = static_cast<int>( glm::length( vec2( max_radius ) ) )+1;
     26                max_radius = math::max(max_radius,m_position);
     27                m_radius = static_cast<int>( math::length( vec2( max_radius ) ) )+1;
    2828        }
    2929        m_radius2 = m_radius * m_radius;
Note: See TracChangeset for help on using the changeset viewer.