Previous 199869 Revisions Next

r24611 Thursday 1st August, 2013 at 00:29:04 UTC by hap
typo
[src/emu/video]polynew.h

trunk/src/emu/video/polynew.h
r24610r24611
11041104template<typename _BaseType, class _ObjectData, int _MaxParams, int _MaxPolys>
11051105int poly_manager<_BaseType, _ObjectData, _MaxParams, _MaxPolys>::zclip_if_less(int numverts, const vertex_t *v, vertex_t *outv, int paramcount, _BaseType clipval)
11061106{
1107   bool prevclipped = (v[numverts - 1]->p[0] < clipval);
1107   bool prevclipped = (v[numverts - 1].p[0] < clipval);
11081108   vertex_t *nextout = outv;
11091109
11101110   // iterate over vertices
11111111   for (int vertnum = 0; vertnum < numverts; vertnum++)
11121112   {
1113      bool thisclipped = (v[vertnum]->p[0] < clipval);
1113      bool thisclipped = (v[vertnum].p[0] < clipval);
11141114
11151115      // if we switched from clipped to non-clipped, interpolate a vertex
11161116      if (thisclipped != prevclipped)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team