| D | s.h | 33 static void _store_array( int idx, float *v, float *n, float *t, float *b, float *st, float *c, in _store_array() argument 47 c_array[idx*4+i] = c[i]; in _store_array() 189 float v[3], n[3], t[3], b[3], st[2], c[4]; in sphere() local 213 c[0] = 1.f; c[1] = 0.f; c[2] = 0.f; c[3] = 1.f; in sphere() 214 …_store_array( idx++, v, n, t, b, st, c, m_vertex, m_normal, m_tangent, m_binormal, m_texture, m_co… in sphere() 219 c[0] = 0.f; c[1] = 1.f; c[2] = 0.f; c[3] = 1.f; in sphere() 220 …_store_array( idx++, v, n, t, b, st, c, m_vertex, m_normal, m_tangent, m_binormal, m_texture, m_co… in sphere() 225 c[0] = 0.f; c[1] = 0.f; c[2] = 1.f; c[3] = 1.f; in sphere() 226 …_store_array( idx++, v, n, t, b, st, c, m_vertex, m_normal, m_tangent, m_binormal, m_texture, m_co… in sphere() 233 c[0] = 1.f; c[1] = 1.f; c[2] = 0.f; c[3] = 1.f; in sphere() [all …]
|