NvCTypes.h
Go to the documentation of this file.
1 // This code contains NVIDIA Confidential Information and is disclosed to you
2 // under a form of NVIDIA software license agreement provided separately to you.
3 //
4 // Notice
5 // NVIDIA Corporation and its licensors retain all intellectual property and
6 // proprietary rights in and to this software and related documentation and
7 // any modifications thereto. Any use, reproduction, disclosure, or
8 // distribution of this software and related documentation without an express
9 // license agreement from NVIDIA Corporation is strictly prohibited.
10 //
11 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
12 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
13 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
14 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
15 //
16 // Information and code furnished is believed to be accurate and reliable.
17 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
18 // information or for any infringement of patents or other rights of third parties that may
19 // result from its use. No license is granted by implication or otherwise under any patent
20 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
21 // This code supersedes and replaces all information previously supplied.
22 // NVIDIA Corporation products are not authorized for use as critical
23 // components in life support devices or systems without express written approval of
24 // NVIDIA Corporation.
25 //
26 // Copyright (c) 2008-2020 NVIDIA Corporation. All rights reserved.
27 // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
28 // Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
29 
30 
31 #ifndef NV_C_TYPES_H
32 #define NV_C_TYPES_H
33 
34 #include "NvPreprocessor.h"
35 #ifdef _MSC_VER
36 #ifndef _INTPTR
37 #define _INTPTR 0
38 #endif
39 #endif
40 #include <stdint.h>
41 
43 typedef struct
44 {
45  float x, y;
46 } NvcVec2;
47 
49 typedef struct
50 {
51  float x, y, z;
52 } NvcVec3;
53 
55 typedef struct
56 {
57  float x, y, z, w;
58 } NvcVec4;
59 
61 typedef struct
62 {
63  float x, y, z, w;
64 } NvcQuat;
65 
67 typedef struct
68 {
71 } NvcTransform;
72 
74 typedef struct
75 {
76  NvcVec3 column0, column1, column2, column3;
77 } NvcMat34;
78 
80 typedef struct
81 {
82  NvcVec3 column0, column1, column2;
83 } NvcMat33;
84 
86 typedef struct
87 {
88  NvcVec4 column0, column1, column2, column3;
89 } NvcMat44;
90 
92 typedef struct
93 {
96 } NvcBounds3;
97 
99 typedef struct
100 {
102  float d;
103 } NvcPlane;
104 
106 typedef struct
107 {
108  int32_t x, y;
109 } NvcVec2i;
110 
112 typedef struct
113 {
114  int32_t x, y, z;
115 } NvcVec3i;
116 
118 typedef struct
119 {
120  int32_t x, y, z, w;
121 } NvcVec4i;
122 
125 #endif // NV_C_TYPES_H
float z
Definition: NvCTypes.h:57
Definition: NvCTypes.h:74
int32_t z
Definition: NvCTypes.h:114
Definition: NvCTypes.h:55
SIMD_FORCE_INLINE const btScalar & x() const
Return the x value.
Definition: btVector3.h:275
float d
Definition: NvCTypes.h:102
int32_t y
Definition: NvCTypes.h:108
float z
Definition: NvCTypes.h:51
Definition: NvCTypes.h:99
Definition: NvCTypes.h:43
float z
Definition: NvCTypes.h:63
NvcVec3 column3
Definition: NvCTypes.h:76
Definition: NvCTypes.h:80
NvcVec3 n
Definition: NvCTypes.h:101
Definition: NvCTypes.h:67
NvcVec3 maximum
Definition: NvCTypes.h:95
int32_t z
Definition: NvCTypes.h:120
Definition: NvCTypes.h:106
NvcVec3 p
Definition: NvCTypes.h:70
SIMD_FORCE_INLINE const btScalar & y() const
Return the y value.
Definition: btVector3.h:277
Definition: NvCTypes.h:118
Definition: NvCTypes.h:86
Definition: NvCTypes.h:92
NvcVec3 column2
Definition: NvCTypes.h:82
NvcQuat q
Definition: NvCTypes.h:69
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
Definition: btVector3.h:281
Definition: NvCTypes.h:112
float y
Definition: NvCTypes.h:45
NvcVec3 minimum
Definition: NvCTypes.h:94
Definition: NvCTypes.h:49
Definition: NvCTypes.h:61
NvcVec4 column3
Definition: NvCTypes.h:88