le3d - LightEngine 3D
A straightforward C++ 3D software engine for real-time graphics
ammx.h
Go to the documentation of this file.
1 
34 #ifndef AMMX_H
35 #define AMMX_H
36 
37 #include "engine/color.h"
38 
39 #include <stdint.h>
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
46 
48  uint8_t* p, short d, float df, float u1, float v1, float w1,
49  float u2, float v2, float w2, uint32_t texMaskU,
50  uint32_t texMaskV, uint32_t texSizeU, LeColor* texPixels
51 );
52 
54  uint8_t* p, short d, int u1, int v1, int w1, int au, int av, int aw,
55  uint32_t texMaskU, uint32_t texMaskV, uint32_t texSizeU, LeColor* texPixels,
56  uint8_t* c
57 );
58 void set_ammx_pixels(void* data, size_t bytes, LeColor color);
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 #endif
Represent an RGBA color.
Definition: color.h:42
LightEngine 3D: Color implementation.
void set_ammx_pixels(void *data, size_t bytes, LeColor color)
void prepare_fill_texel(LeColor *c)
void fill_flat_texel_float(uint8_t *p, short d, float df, float u1, float v1, float w1, float u2, float v2, float w2, uint32_t texMaskU, uint32_t texMaskV, uint32_t texSizeU, LeColor *texPixels)
void fill_flat_texel_int(uint8_t *p, short d, int u1, int v1, int w1, int au, int av, int aw, uint32_t texMaskU, uint32_t texMaskV, uint32_t texSizeU, LeColor *texPixels, uint8_t *c)