From ef6937e69e8ee3f409cf9d460d5ad300a65d5924 Mon Sep 17 00:00:00 2001 From: sschirm Date: Fri, 23 Dec 2016 14:20:36 +0100 Subject: PhysX 3.4 / APEX 1.4 release candidate @21506124 --- APEX_1.4/module/iofx/src/ModifierCPU.cpp | 89 -------------------------------- 1 file changed, 89 deletions(-) delete mode 100644 APEX_1.4/module/iofx/src/ModifierCPU.cpp (limited to 'APEX_1.4/module/iofx/src/ModifierCPU.cpp') diff --git a/APEX_1.4/module/iofx/src/ModifierCPU.cpp b/APEX_1.4/module/iofx/src/ModifierCPU.cpp deleted file mode 100644 index 572e8ac2..00000000 --- a/APEX_1.4/module/iofx/src/ModifierCPU.cpp +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright (c) 2008-2015, 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. - */ - - -#include "ModifierImpl.h" - -#pragma warning (disable : 4127) - -#include "ModifierData.h" - -namespace nvidia -{ -namespace apex -{ - -#define MODIFIER_DECL -#define CURVE_TYPE const nvidia::apex::Curve* -#define EVAL_CURVE(curve, value) curve->evaluate(value) -#define PARAMS_NAME(name) name ## ParamsCPU - -#include "ModifierSrc.h" - -#undef MODIFIER_DECL -#undef CURVE_TYPE -#undef EVAL_CURVE -#undef PARAMS_NAME - -} - -namespace iofx -{ - -#define _MODIFIER(name) \ - void name ## ModifierImpl :: mapParamsCPU(ModifierParamsMapperCPU& mapper) const \ - { \ - mapParams(mapper, (name ## ParamsCPU *)NULL); \ - } \ - -#define _MODIFIER_SPRITE(name) \ - void updateSprite_##name (const void* params, const SpriteInput& input, SpritePublicState& pubState, SpritePrivateState& privState, const ModifierCommonParams& common, RandState& randState) \ - { \ - modifier##name (*static_cast(params), input, pubState, privState, common, randState); \ - } \ - void updateSpriteOnSpawn_##name (const void* params, const SpriteInput& input, SpritePublicState& pubState, SpritePrivateState& privState, const ModifierCommonParams& common, RandState& randState) \ - { \ - modifier##name (*static_cast(params), input, pubState, privState, common, randState); \ - } \ - ModifierImpl::updateSpriteFunc name##ModifierImpl :: getUpdateSpriteFunc(ModifierStage stage) const \ - { \ - switch (stage) { \ - case ModifierStage_Spawn: return &updateSpriteOnSpawn_##name; \ - case ModifierStage_Continuous: return &updateSprite_##name; \ - default: \ - PX_ALWAYS_ASSERT(); \ - return 0; \ - } \ - } - -#define _MODIFIER_MESH(name) \ - void updateMesh_##name (const void* params, const MeshInput& input, MeshPublicState& pubState, MeshPrivateState& privState, const ModifierCommonParams& common, RandState& randState) \ - { \ - modifier##name (*static_cast(params), input, pubState, privState, common, randState); \ - } \ - void updateMeshOnSpawn_##name (const void* params, const MeshInput& input, MeshPublicState& pubState, MeshPrivateState& privState, const ModifierCommonParams& common, RandState& randState) \ - { \ - modifier##name (*static_cast(params), input, pubState, privState, common, randState); \ - } \ - ModifierImpl::updateMeshFunc name##ModifierImpl :: getUpdateMeshFunc(ModifierStage stage) const \ - { \ - switch (stage) { \ - case ModifierStage_Spawn: return &updateMeshOnSpawn_##name; \ - case ModifierStage_Continuous: return &updateMesh_##name; \ - default: \ - PX_ALWAYS_ASSERT(); \ - return 0; \ - } \ - } - -#include "ModifierList.h" - -} -} // namespace nvidia -- cgit v1.2.3