PxVehicleShaders.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA CORPORATION and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA CORPORATION is strictly prohibited.
9  */
10 // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
11 // Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
12 
13 #ifndef PX_VEHICLE_SHADERS_H
14 #define PX_VEHICLE_SHADERS_H
15 
19 #include "vehicle/PxVehicleSDK.h"
20 
21 #ifndef PX_DOXYGEN
22 namespace physx
23 {
24 #endif
25 
47 typedef void (*PxVehicleComputeTireForce)
48 (const void* shaderData,
49  const PxF32 tireFriction,
50  const PxF32 longSlip, const PxF32 latSlip, const PxF32 camber,
51  const PxF32 wheelOmega, const PxF32 wheelRadius, const PxF32 recipWheelRadius,
52  const PxF32 restTireLoad, const PxF32 normalisedTireLoad, const PxF32 tireLoad,
53  const PxF32 gravity, const PxF32 recipGravity,
54  PxF32& wheelTorque, PxF32& tireLongForceMag, PxF32& tireLatForceMag, PxF32& tireAlignMoment);
55 
56 
57 #ifndef PX_DOXYGEN
58 } // namespace physx
59 #endif
60 
62 #endif //PX_VEHICLE_SHADERS_H


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com