Fix angle resolution
This commit is contained in:
parent
5b861cc341
commit
0101ef8d55
5 changed files with 44 additions and 22 deletions
|
@ -8,6 +8,8 @@
|
|||
|
||||
// For fixing floating point rounding errors.
|
||||
export const EPSILON = 1e-8;
|
||||
// Don't change these.
|
||||
export const TAU = Math.PI * 2;
|
||||
// Unit length of sector. Only for internal representation.
|
||||
export const SECTOR_SIZE = 512;
|
||||
// G, G-boy, The big G, Mr. G, g's big brother, G-dog
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue