Skip to content

Commit a7455cb

Browse files
committed
use 9 bit integer fixed point
1 parent 67c1a49 commit a7455cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/me/cortex/voxy/client/core/model/bakery/SoftwareRasterizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import java.util.Random;
1515

1616
public class SoftwareRasterizer {
17-
private static final int INTEGER_BITS = 8;//+-256
17+
private static final int INTEGER_BITS = 9;//+-512
1818
private static final int TOTAL_INTEGER_BITS = INTEGER_BITS+1;
1919
private static final int FIXED_POINT_BITS = 32-TOTAL_INTEGER_BITS;
2020
private static final long FIXED_POINT_BIT_SCALE = (1<<FIXED_POINT_BITS)-1;

0 commit comments

Comments
 (0)