Main Page Class List Class Members

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 {
69 NvcQuat q;
70 NvcVec3 p;
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 {
94 NvcVec3 minimum;
95 NvcVec3 maximum;
96 } NvcBounds3;
97
99 typedef struct
100 {
101 NvcVec3 n;
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
NvcVec4::z
float z
Definition: NvCTypes.h:57
NvcMat34
Definition: NvCTypes.h:74
NvcVec3i::z
int32_t z
Definition: NvCTypes.h:114
NvcVec4
Definition: NvCTypes.h:55
NvcPlane::d
float d
Definition: NvCTypes.h:102
NvcVec2i::y
int32_t y
Definition: NvCTypes.h:108
NvcVec3::z
float z
Definition: NvCTypes.h:51
NvcPlane
Definition: NvCTypes.h:99
NvcVec2
Definition: NvCTypes.h:43
NvcQuat::z
float z
Definition: NvCTypes.h:63
NvcMat34::column3
NvcVec3 column3
Definition: NvCTypes.h:76
NvcMat33
Definition: NvCTypes.h:80
NvcPlane::n
NvcVec3 n
Definition: NvCTypes.h:101
NvcTransform
Definition: NvCTypes.h:67
NvcBounds3::maximum
NvcVec3 maximum
Definition: NvCTypes.h:95
NvcVec4i::z
int32_t z
Definition: NvCTypes.h:120
NvcVec2i
Definition: NvCTypes.h:106
NvcTransform::p
NvcVec3 p
Definition: NvCTypes.h:70
NvcVec4i
Definition: NvCTypes.h:118
NvcMat44
Definition: NvCTypes.h:86
NvcBounds3
Definition: NvCTypes.h:92
NvcMat33::column2
NvcVec3 column2
Definition: NvCTypes.h:82
NvcTransform::q
NvcQuat q
Definition: NvCTypes.h:69
NvcVec3i
Definition: NvCTypes.h:112
NvcVec2::y
float y
Definition: NvCTypes.h:45
NvcBounds3::minimum
NvcVec3 minimum
Definition: NvCTypes.h:94
NvcVec3
Definition: NvCTypes.h:49
NvcQuat
Definition: NvCTypes.h:61
NvcMat44::column3
NvcVec4 column3
Definition: NvCTypes.h:88