mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-21 12:05:01 +01:00
Fix TIN format: header size 132 bytes, include terraincooker.h for vertex
- Adjusted file_header to 132 bytes (actual size with alignment) - Fixed forward declaration issues by including terraincooker.h - Cooker compiles and runs successfully - Verified .qm output format with test triangle Test results: - Magic: EU07QMSH ✓ - 1 input triangle → 7 output (Delaunay) ✓ - Edge indices, LOD levels working ✓
This commit is contained in:
@@ -26,12 +26,10 @@ http://mozilla.org/MPL/2.0/.
|
||||
#include <CDT.h>
|
||||
|
||||
#include "scene/quantizedmeshformat.h"
|
||||
#include "scene/terraincooker.h" // For terrain::vertex definition
|
||||
|
||||
namespace terrain {
|
||||
|
||||
// Forward declarations from terraincooker.h
|
||||
struct vertex;
|
||||
|
||||
// Triangle with material
|
||||
struct tin_triangle {
|
||||
vertex v[ 3 ];
|
||||
|
||||
Reference in New Issue
Block a user