Translations:Angles/11/en
static {
for (int i = 0; i < 65536; ++i) { SIN_TABLE[i] = (float)Math.sin((double)i * Math.PI * 2.0D / 65536.0D); }
}
</syntaxhighlight>Note: & 65535
gives the (positive) remainder of a division by 65536 ( )
static {
for (int i = 0; i < 65536; ++i) { SIN_TABLE[i] = (float)Math.sin((double)i * Math.PI * 2.0D / 65536.0D); }
}
</syntaxhighlight>Note: & 65535
gives the (positive) remainder of a division by 65536 ( )