mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-26 03:12:18 -05:00
Removed stdio and added documentation
This commit is contained in:
parent
0ea9612b7e
commit
f5f2205d0f
@ -3175,7 +3175,7 @@ _DW({ \
|
||||
(_SHIFTL(r, 24, 8) | _SHIFTL(g, 16, 8) | \
|
||||
_SHIFTL(b, 8, 8) | _SHIFTL(a, 0, 8)))
|
||||
|
||||
#define gsDPSetGrayscaleColor(pkt, r, g, b, lerp) \
|
||||
#define gsDPSetGrayscaleColor(pkt, r, g, b, lerp) \
|
||||
DPRGBColor(pkt, G_SETINTENSITY, r, g, b, lerp)
|
||||
#define gDPSetEnvColor(pkt, r, g, b, a) \
|
||||
DPRGBColor(pkt, G_SETENVCOLOR, r,g,b,a)
|
||||
|
@ -1397,7 +1397,7 @@ static void gfx_sp_tri1(uint8_t vtx1_idx, uint8_t vtx2_idx, uint8_t vtx3_idx, bo
|
||||
buf_vbo[buf_vbo_len++] = rdp.grayscale_color.r / 255.0f;
|
||||
buf_vbo[buf_vbo_len++] = rdp.grayscale_color.g / 255.0f;
|
||||
buf_vbo[buf_vbo_len++] = rdp.grayscale_color.b / 255.0f;
|
||||
buf_vbo[buf_vbo_len++] = rdp.grayscale_color.a / 255.0f; // Unused
|
||||
buf_vbo[buf_vbo_len++] = rdp.grayscale_color.a / 255.0f; // lerp interpolation factor (not alpha)
|
||||
}
|
||||
|
||||
for (int j = 0; j < num_inputs; j++) {
|
||||
|
@ -1,5 +1,3 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "global.h"
|
||||
#include "vt.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user