2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2015-10-05 01:57:23 +00:00
|
|
|
|
2019-08-23 23:24:04 +00:00
|
|
|
#include <athena/Types.hpp>
|
|
|
|
|
|
|
|
namespace hecl::blender {
|
|
|
|
class PyOutStream;
|
|
|
|
struct ColMesh;
|
|
|
|
} // namespace hecl::blender
|
2015-10-05 01:57:23 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace DataSpec {
|
2015-10-05 01:57:23 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
enum class BspNodeType : atUint32 { Invalid, Branch, Leaf };
|
2015-10-05 01:57:23 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
template <class DEAFBABE>
|
2017-12-29 08:08:12 +00:00
|
|
|
void DeafBabeSendToBlender(hecl::blender::PyOutStream& os, const DEAFBABE& db, bool isDcln = false, atInt32 idx = -1);
|
2015-10-05 01:57:23 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
template <class DEAFBABE>
|
2017-12-29 08:08:12 +00:00
|
|
|
void DeafBabeBuildFromBlender(DEAFBABE& db, const hecl::blender::ColMesh& colMesh);
|
2015-10-05 01:57:23 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace DataSpec
|