mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-08 05:48:19 -05:00
14 lines
376 B
C++
14 lines
376 B
C++
#include "ObjWriting.h"
|
|
|
|
ObjWriting::Configuration_t ObjWriting::Configuration;
|
|
|
|
bool ObjWriting::ShouldHandleAssetType(const asset_type_t assetType)
|
|
{
|
|
if (assetType < 0)
|
|
return false;
|
|
if (static_cast<size_t>(assetType) >= Configuration.AssetTypesToHandleBitfield.size())
|
|
return true;
|
|
|
|
return Configuration.AssetTypesToHandleBitfield[assetType];
|
|
}
|