| Index: native_client_sdk/src/examples/demo/earth/earth.cc
|
| diff --git a/native_client_sdk/src/examples/demo/earth/earth.cc b/native_client_sdk/src/examples/demo/earth/earth.cc
|
| index 420448bb1f476dec109ad7c856286b055892feed..1f750079aa0e3fc774c3357db3d84c5746e118bb 100644
|
| --- a/native_client_sdk/src/examples/demo/earth/earth.cc
|
| +++ b/native_client_sdk/src/examples/demo/earth/earth.cc
|
| @@ -452,7 +452,7 @@ void Planet::wRenderPixelSpan(int x0, int x1, int y) {
|
| float dp = planet_equator_x_ * nx +
|
| planet_equator_y_ * ny +
|
| planet_equator_z_ * nz;
|
| - float w = dp / sin(ang);
|
| + float w = dp / sinf(ang);
|
| if (w > 1.0f) w = 1.0f;
|
| if (w < -1.0f) w = -1.0f;
|
| float th = acos_.TableLerp(w) * kOneOver2PI;
|
|
|