Ignore:
Timestamp:
Mar 2, 2012, 2:00:45 PM (11 years ago)
Author:
gary
Message:

math: minor compilation fixes for Visual Studio. Still does not link.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/vector.cpp

    r1139 r1149  
    313313    else if (m[0][0] > m[1][1] && m[0][0] > m[2][2])
    314314    {
    315         x = 0.5f * sqrt(1.0f + m[0][0] - m[1][1] - m[2][2]);
     315        x = 0.5f * sqrtf(1.0f + m[0][0] - m[1][1] - m[2][2]);
    316316        float s = 0.25f / x;
    317317        y = s * (m[1][0] + m[0][1]);
Note: See TracChangeset for help on using the changeset viewer.