From ca32c59a58d37c1822e185a2d5f3d0d3e8943593 Mon Sep 17 00:00:00 2001 From: Marijn Tamis Date: Thu, 3 May 2018 18:22:48 +0200 Subject: NvCloth 1.1.4 Release. (24070740) --- .../SampleBase/utils/AnimatedModelUtilities.h | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 NvCloth/samples/SampleBase/utils/AnimatedModelUtilities.h (limited to 'NvCloth/samples/SampleBase/utils/AnimatedModelUtilities.h') diff --git a/NvCloth/samples/SampleBase/utils/AnimatedModelUtilities.h b/NvCloth/samples/SampleBase/utils/AnimatedModelUtilities.h new file mode 100644 index 0000000..efe04b2 --- /dev/null +++ b/NvCloth/samples/SampleBase/utils/AnimatedModelUtilities.h @@ -0,0 +1,26 @@ +/* +* Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved. +* +* NVIDIA CORPORATION and its licensors retain all intellectual property +* and proprietary rights in and to this software, related documentation +* and any modifications thereto. Any use, reproduction, disclosure or +* distribution of this software and related documentation without an express +* license agreement from NVIDIA CORPORATION is strictly prohibited. +*/ + +#pragma once +#include +#include +#include +#include +#include +class Model; +class Scene; + +bool saveBoneCapsuleData(std::string filepath, Model* model, + std::vector& sphereOffsets, std::vector& activeSpheres, std::vector& capsuleNodes); + +bool loadBoneCapsuleData(std::string filepath, Model* model, + std::vector& sphereOffsets, std::vector& activeSpheres, std::vector& capsuleNodes); + +void renderBoneLines(Scene* scene, Model* model, ModelInstance* instance, physx::PxMat44 transform = physx::PxMat44(physx::PxIdentity), float scale = 1.0f); \ No newline at end of file -- cgit v1.2.3