GCC fixup

This commit is contained in:
Shyotl
2011-09-09 14:42:59 -05:00
parent e5448533bf
commit 87bada69fa
5 changed files with 22 additions and 26 deletions

View File

@@ -328,13 +328,13 @@ void LLVOPartGroup::getGeometry(S32 idx,
// this works because there is actually a 4th float stored after the vertex position which is used as a texture index
// also, somebody please VECTORIZE THIS
verticesp->mV[3] = 0.f;
*(verticesp->mV+3) = 0.f;
*verticesp++ = part_pos_agent + up - right;
verticesp->mV[3] = 0.f;
*(verticesp->mV+3) = 0.f;
*verticesp++ = part_pos_agent - up - right;
verticesp->mV[3] = 0.f;
*(verticesp->mV+3) = 0.f;
*verticesp++ = part_pos_agent + up + right;
verticesp->mV[3] = 0.f;
*(verticesp->mV+3) = 0.f;
*verticesp++ = part_pos_agent - up + right;
*colorsp++ = part.mColor;