Pre-prending RL_ prefix for some raylib header macros.
This commit is contained in:
parent
e48f2f9d43
commit
8cea5f28b0
1 changed files with 210 additions and 210 deletions
|
|
@ -90,7 +90,7 @@ int main()
|
|||
// Write sine wave.
|
||||
for (int i = 0; i < waveLength*2; i++)
|
||||
{
|
||||
data[i] = (short)(sinf(((2*PI*(float)i/waveLength)))*32000);
|
||||
data[i] = (short)(sinf(((2*RL_PI*(float)i/waveLength)))*32000);
|
||||
}
|
||||
|
||||
// Scale read cursor's position to minimize transition artifacts
|
||||
|
|
|
|||
Loading…
Reference in a new issue