mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-01 00:57:56 -05:00
chore: update formatting due to updated clang-format version
This commit is contained in:
@ -25,7 +25,7 @@ public:
|
|||||||
|
|
||||||
[[nodiscard]] virtual std::optional<asset_type_t> GetHandlingAssetType() const = 0;
|
[[nodiscard]] virtual std::optional<asset_type_t> GetHandlingAssetType() const = 0;
|
||||||
virtual AssetCreationResult CreateAsset(const std::string& assetName, AssetCreationContext& context) = 0;
|
virtual AssetCreationResult CreateAsset(const std::string& assetName, AssetCreationContext& context) = 0;
|
||||||
virtual void FinalizeZone(AssetCreationContext& context){};
|
virtual void FinalizeZone(AssetCreationContext& context) {};
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename AssetType> class AssetCreator : public IAssetCreator
|
template<typename AssetType> class AssetCreator : public IAssetCreator
|
||||||
|
@ -25,5 +25,5 @@ public:
|
|||||||
|
|
||||||
[[nodiscard]] virtual asset_type_t GetHandlingAssetType() const = 0;
|
[[nodiscard]] virtual asset_type_t GetHandlingAssetType() const = 0;
|
||||||
virtual void PostProcessAsset(XAssetInfoGeneric& assetInfo, AssetCreationContext& context) = 0;
|
virtual void PostProcessAsset(XAssetInfoGeneric& assetInfo, AssetCreationContext& context) = 0;
|
||||||
virtual void FinalizeZone(AssetCreationContext& context){};
|
virtual void FinalizeZone(AssetCreationContext& context) {};
|
||||||
};
|
};
|
||||||
|
@ -28,7 +28,7 @@ namespace tangent_space
|
|||||||
|
|
||||||
void SetVec3(void* dest, const size_t index, const size_t stride, const tvec3& data)
|
void SetVec3(void* dest, const size_t index, const size_t stride, const tvec3& data)
|
||||||
{
|
{
|
||||||
auto* out = reinterpret_cast<float(*)[3]>(static_cast<char*>(dest) + stride * index);
|
auto* out = reinterpret_cast<float (*)[3]>(static_cast<char*>(dest) + stride * index);
|
||||||
(*out)[0] = data[0];
|
(*out)[0] = data[0];
|
||||||
(*out)[1] = data[1];
|
(*out)[1] = data[1];
|
||||||
(*out)[2] = data[2];
|
(*out)[2] = data[2];
|
||||||
|
@ -49,7 +49,7 @@ DefinesStreamProxy::DefineParameterPosition::DefineParameterPosition(const unsig
|
|||||||
}
|
}
|
||||||
|
|
||||||
DefinesStreamProxy::Define::Define()
|
DefinesStreamProxy::Define::Define()
|
||||||
: m_contains_token_pasting_operators(false){};
|
: m_contains_token_pasting_operators(false) {};
|
||||||
|
|
||||||
DefinesStreamProxy::Define::Define(std::string name, std::string value)
|
DefinesStreamProxy::Define::Define(std::string name, std::string value)
|
||||||
: m_name(std::move(name)),
|
: m_name(std::move(name)),
|
||||||
|
Reference in New Issue
Block a user