v0.3.1a: updated deprecated method usage

This commit is contained in:
Evan Debenham
2015-08-19 00:21:11 -04:00
committed by Evan Debenham
parent a077406c8e
commit 669ebb9794
2 changed files with 7 additions and 7 deletions
@@ -88,13 +88,13 @@ public class Flare extends Visual {
for (int i=0; i < nRays; i++) {
float a = i * 3.1415926f * 2 / nRays;
v[0] = FloatMath.cos( a ) * radius;
v[1] = FloatMath.sin( a ) * radius;
v[0] = (float)Math.cos( a ) * radius;
v[1] = (float)Math.sin( a ) * radius;
vertices.put( v );
a += 3.1415926f * 2 / nRays / 2;
v[0] = FloatMath.cos( a ) * radius;
v[1] = FloatMath.sin( a ) * radius;
v[0] = (float)Math.cos( a ) * radius;
v[1] = (float)Math.sin( a ) * radius;
vertices.put( v );
indices.put( (short)0 );