diff options
author | Kahrl <kahrl@gmx.net> | 2016-01-15 02:16:21 +0100 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2016-01-15 04:18:32 +0100 |
commit | da686160c33069b77a7b4c31fd97da5fa5b59baa (patch) | |
tree | eb09f1990688c228c964d627c1980a6dce7ff01b /po/pt_BR | |
parent | 3c6b2ffb10e053ad0b585347275034c4d889530d (diff) | |
download | minetest-da686160c33069b77a7b4c31fd97da5fa5b59baa.tar.gz minetest-da686160c33069b77a7b4c31fd97da5fa5b59baa.tar.bz2 minetest-da686160c33069b77a7b4c31fd97da5fa5b59baa.zip |
Make all mesh manipulators in mesh.cpp work with any vertex type
cloneMesh() has to use a switch in order to create a different
mesh buffer type depending on vertex type. (Credit: the new cloneMesh
was written by RealBadAngel.)
To avoid repetitive code, all other methods use getVertexPitchFromType()
to automatically adapt the indexing to the vertex type at runtime.
Diffstat (limited to 'po/pt_BR')
0 files changed, 0 insertions, 0 deletions