16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 15:09:19 +02:00

vbo changes, merge

This commit is contained in:
VB
2017-03-09 20:16:54 +01:00
16 changed files with 376 additions and 126 deletions

View File

@@ -141,7 +141,9 @@ class TSegment
}
int RaSegCount()
{
return fTsBuffer ? iSegCount : 1;
if (!fTsBuffer || !bCurve)
return 1;
return iSegCount;
};
void RaRenderLoft(CVertNormTex *&Vert, const vector6 *ShapePoints, int iNumShapePoints,
double fTextureLength, int iSkip = 0, int iEnd = 0, double fOffsetX = 0.0);