Commit Graph

9 Commits

Author SHA1 Message Date
Branimir Karadžić
af5b77394b Fixed build. 2017-12-30 20:49:14 -08:00
Kyle Rocha
1f3846224b uint32 size indices and vertexBaseIndex to Forsyth (#1304)
- Forsyth::OptimizeFaces() now has 2 overloads, 1 for uint16_t and one
for uint32_t sized indices. Internally each overload now calls down to
the templated OptimizeFacesImpl() providing the respective index type.

- The new 'vertexBaseIndex' is the starting vertex index
subtracted from each index in indexList to allow safe operation on
multiple objects in a single index buffer.

- Also replaced the interal int typedefs with common types provided by
stdint.h
2017-12-30 20:46:21 -08:00
Branimir Karadžić
22a548ca02 Fixed unused variable. 2017-01-19 14:33:03 -08:00
Branimir Karadžić
ab9a0c12b0 Cleanup. 2016-01-12 13:20:07 -08:00
Srekel
7375b97688 Fix for assert in VS2015 debug builds (and likely others too). ( Expression: vector subscript out of range ) 2016-01-08 15:37:08 +01:00
bkaradzic
ea38983f8d Fixed Clang warnings. 2013-08-11 20:29:10 -07:00
bkaradzic
8e0e21f40d Normalized line endings. 2013-02-21 21:07:31 -08:00
bkaradzic
c2eda31fca Fixed warnings. 2012-12-28 17:20:28 -08:00
bkaradzic
1bc2ec8015 Initial version of geometry compiler. 2012-12-28 17:09:34 -08:00