MCPcopy Create free account
hub / github.com/assimp/assimp / color4_to_float4

Function color4_to_float4

samples/SimpleOpenGL/Sample_SimpleOpenGL.c:131–137  ·  view source on GitHub ↗

---------------------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

129
130/* ---------------------------------------------------------------------------- */
131void color4_to_float4(const C_STRUCT aiColor4D *c, float f[4])
132{
133 f[0] = c->r;
134 f[1] = c->g;
135 f[2] = c->b;
136 f[3] = c->a;
137}
138
139/* ---------------------------------------------------------------------------- */
140void set_float4(float f[4], float a, float b, float c, float d)

Callers 1

apply_materialFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected