Hi guys,
Can you please tell me what I'm doing wrong here?
This code is from where Casey is starting to replace the square wave with a sine wave.
#define PI32 3.14159265359f;
...
real32 t = 2.0f*PI32*(real32)runningSampleIndex / (real32)wavePeriod;
The second line is not compiling ("error C2100: illegal indirection" and "warning C4552: '/': operator has no effect; expected operator with side-effect") unless I replace PI32 with 3.14159f.
I really have NO clue ... :S
Oh yeah : VS2015 + Win10.
Thanks.