Changeset 1299


Ignore:
Timestamp:
Apr 26, 2012, 9:25:55 AM (8 years ago)
Author:
sam
Message:

orbital: fix PS3 compilation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/orbital/mesh.h

    r1298 r1299  
    549549
    550550        vec3 d = size * 0.5f;
    551         float const pi = acos(-1.0f);
     551        float const pi = std::acos(-1.0f);
    552552
    553553        Array<vec2> table;
    554554        for (int i = 0; i <= divisions; i++)
    555             table.Append(vec2(sin(pi * 2 / divisions * i) + 1e-5f,
    556                               cos(pi * 2 / divisions * i) + 1e-5f));
     555            table.Append(vec2(std::sin(pi * 2 / divisions * i) + 1e-5f,
     556                              std::cos(pi * 2 / divisions * i) + 1e-5f));
    557557
    558558        for (int j = 0; j <= divisions / 2; j++)
Note: See TracChangeset for help on using the changeset viewer.