16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 17:29:18 +02:00

scale matchtolerance, add VNT2 chunk type

This commit is contained in:
milek7
2020-10-19 16:47:25 +02:00
committed by tmj-fstate
parent f9a8c1fbb3
commit b0d46b9ddc
3 changed files with 27 additions and 11 deletions

View File

@@ -53,7 +53,7 @@ using vertex_array = std::vector<basic_vertex>;
using index_array = std::vector<basic_index>;
void calculate_tangents( vertex_array &vertices, index_array const &indices, int const type );
void calculate_indices( index_array &Indices, vertex_array &Vertices );
void calculate_indices( index_array &Indices, vertex_array &Vertices, float tolerancescale = 1.0f );
// generic geometry bank class, allows storage, update and drawing of geometry chunks