Skip to content

Commit

Permalink
GBI.h: add better color reciproc values
Browse files Browse the repository at this point in the history
  • Loading branch information
gizmo98 authored and gonetz committed Jun 2, 2018
1 parent bb00ed3 commit 997820c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GBI.h
Expand Up @@ -55,8 +55,8 @@
#define _FIXED2FLOAT( v, b ) \
((f32)v * FIXED2FLOATRECIP##b)

#define FIXED2FLOATRECIPCOLOR7 0.00787401572f
#define FIXED2FLOATRECIPCOLOR8 0.00392156886f
#define FIXED2FLOATRECIPCOLOR7 7.8740157186985015869140625e-03f
#define FIXED2FLOATRECIPCOLOR8 3.9215688593685626983642578125e-03f

#define _FIXED2FLOATCOLOR( v, b ) \
((f32)v * FIXED2FLOATRECIPCOLOR##b)
Expand Down

0 comments on commit 997820c

Please sign in to comment.