Ignore:
Timestamp:
Jun 24, 2012, 4:03:14 PM (11 years ago)
Author:
sam
Message:

build: fix the VS2010 build and add build/ and binaries/ to the dist
tarball.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/orbital/snake.h

    r1512 r1520  
    9494        }
    9595
    96         float test = sin(m_steer) * 200.f + 60.f;
     96        float test = lol::sin(m_steer) * 200.f + 60.f;
    9797        m_rotation *= quat::rotate(seconds * test, vec3(0, 1, 0));
    9898
     
    167167        {
    168168            pos += m_nodes[i].m1;
    169             y_angle = (180.f / (float)M_PI) * atan2(m_nodes[i].m1.x, m_nodes[i].m1.z);
     169            y_angle = (180.f / (float)M_PI) * lol::atan2(m_nodes[i].m1.x, m_nodes[i].m1.z);
    170170            rot = quat::rotate(y_angle, 0.f, 1.f, 0.f)
    171171                * quat::rotate(m_nodes[i].m2, 0.f, 0.f, 1.f);
    172172            model = mat4::translate(pos) * mat4(rot);
    173173            if (i != m_nodes.Count() - 1 && m_nodes[i].m4)
    174                 m_body.Render(model, sin(2.f * m_nodes[i].m3) * .5f + .5f);
     174                m_body.Render(model, lol::sin(2.f * m_nodes[i].m3) * .5f + .5f);
    175175            else if (i != m_nodes.Count() - 1)
    176176                m_body.Render(model);
Note: See TracChangeset for help on using the changeset viewer.