2015-10-05 01:57:23 +00:00
|
|
|
#ifndef _DNACOMMON_DEAFBABE_HPP_
|
|
|
|
#define _DNACOMMON_DEAFBABE_HPP_
|
|
|
|
|
|
|
|
#include "DNACommon.hpp"
|
2016-09-18 23:47:48 +00:00
|
|
|
#include "hecl/Blender/BlenderConnection.hpp"
|
2015-10-05 01:57:23 +00:00
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
namespace DataSpec
|
2015-10-05 01:57:23 +00:00
|
|
|
{
|
|
|
|
|
2016-08-11 19:52:22 +00:00
|
|
|
enum class BspNodeType : atUint32
|
2015-10-05 01:57:23 +00:00
|
|
|
{
|
2016-08-11 19:52:22 +00:00
|
|
|
Invalid,
|
|
|
|
Branch,
|
|
|
|
Leaf
|
|
|
|
};
|
2015-10-05 01:57:23 +00:00
|
|
|
|
2016-08-11 19:52:22 +00:00
|
|
|
template<class DEAFBABE>
|
|
|
|
void DeafBabeSendToBlender(hecl::BlenderConnection::PyOutStream& os, const DEAFBABE& db);
|
2015-10-05 01:57:23 +00:00
|
|
|
|
2016-08-11 19:52:22 +00:00
|
|
|
template<class DEAFBABE>
|
|
|
|
void DeafBabeBuildFromBlender(DEAFBABE& db, const hecl::BlenderConnection::DataStream::ColMesh& colMesh);
|
2015-10-05 01:57:23 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // _DNACOMMON_DEAFBABE_HPP_
|