mirror of
https://github.com/open-goal/jak-project
synced 2026-06-24 09:51:29 -04:00
348bf83b89
By adding the `draco` library as a dependency, `tinygltf` can support GLB files compressed with the Draco compression algorithm which allows for drastically reduced file sizes for custom levels (TFL's Crescent Top GLB for example went from 135 MB to 37 MB).
24 lines
947 B
C++
24 lines
947 B
C++
#pragma once
|
|
|
|
#include "BspHeader.h"
|
|
|
|
#include "common/custom_data/Tfrag3Data.h"
|
|
|
|
namespace decompiler {
|
|
|
|
void extract_collide_frags(const level_tools::DrawableTreeCollideFragment* tree,
|
|
const std::vector<const level_tools::DrawableTreeInstanceTie*>& ties,
|
|
const Config& config,
|
|
const std::string& debug_name,
|
|
tfrag3::Level& out);
|
|
|
|
void extract_collide_frags(const level_tools::CollideHash& chash,
|
|
const std::vector<const level_tools::DrawableTreeInstanceTie*>& ties,
|
|
const Config& config,
|
|
const std::string& debug_name,
|
|
const decompiler::DecompilerTypeSystem& dts,
|
|
tfrag3::Level& out);
|
|
|
|
void set_vertices_for_tri(tfrag3::CollisionMesh::Vertex* out, const math::Vector4f* in);
|
|
} // namespace decompiler
|