- added new cmake build option (and fixed bugs from people who added code but did not respect NON streflop define)

This commit is contained in:
Mark Vejvoda
2011-07-13 19:57:29 +00:00
parent 5ffc0937f1
commit bc4f33bc9a
3 changed files with 33 additions and 9 deletions

View File

@@ -163,8 +163,8 @@ public:
c = streflop::cosf(rad),
s = streflop::sinf(rad);
#else
c = scosf(rad),
s = ssinf(rad);
c = cosf(rad),
s = sinf(rad);
#endif
return Vec2<T>(x*c-y*s,x*s+y*c);
}