mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-02 21:21:22 +00:00
a628cff085
Add smoothGroup member to OBJFace struct, and assign the current smooth group number to it Move face normal calculation code to CalculateNormalFlat Add AddVertFaces method, which initializes and populates the vertFaces array of arrays, which holds references to triangle references per vertex Only initialize and populate vertFaces if the model has missing normals and smooth groups Assign smooth groups to triangle data Add CalculateNormalSmooth method, which calculates the normals for each face the vertex is attached to, depending on whether or not the faces are part of the given smooth group, and averages them out Add OBJTriRef struct, which holds references to triangles on OBJ surfaces Make {agg,cur}SurfFaceCount unsigned ints Change nvec to a value instead of a pointer |
||
---|---|---|
.. | ||
models.cpp | ||
models.h | ||
models_md2.cpp | ||
models_md3.cpp | ||
models_obj.cpp | ||
models_obj.h | ||
models_ue1.cpp | ||
models_ue1.h | ||
models_voxel.cpp | ||
tab_anorms.h |