Ignore:
Timestamp:
09/21/15 19:13:26 (10 years ago)
Author:
epyon
Message:
  • full math library
  • GLM dependency removed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/formats/md3_loader.cc

    r451 r471  
    246246                {
    247247                        float flat    = lat * convert;
    248                         float sin_lat = math::sin( flat );
    249                         float cos_lat = math::cos( flat );
     248                        float sin_lat = nv::sin( flat );
     249                        float cos_lat = nv::cos( flat );
    250250                        for ( int lng = 0; lng < 256; ++lng, ++n )
    251251                        {
    252252                                float flng    = lng * convert;
    253                                 float sin_lng = math::sin( flng );
    254                                 float cos_lng = math::cos( flng );
     253                                float sin_lng = nv::sin( flng );
     254                                float cos_lng = nv::cos( flng );
    255255                                s_normal_cache[n].x = cos_lat * sin_lng;
    256256//                              s_normal_cache[n].y = sin_lat * sin_lng;
Note: See TracChangeset for help on using the changeset viewer.