| 181 | } |
| 182 | |
| 183 | void drawingWithTex(C3D_Tex* tex, u32 color) |
| 184 | { |
| 185 | drawingSetTex(tex); |
| 186 | C3D_TexEnv* env = C3D_GetTexEnv(0); |
| 187 | C3D_TexEnvSrc(env, C3D_Both, GPU_TEXTURE0, GPU_CONSTANT, 0); |
| 188 | C3D_TexEnvFunc(env, C3D_Both, GPU_MODULATE); |
| 189 | C3D_TexEnvColor(env, color); |
| 190 | } |
| 191 | |
| 192 | void drawingAddVertex(float vx, float vy, float tx, float ty) |
| 193 | { |
no test coverage detected