DriveWorks SDK Reference
5.16.65 Release
For Test and Development only

GeometricDefs.h
Go to the documentation of this file.
1
2//
3// Notice
4// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
5// NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
6// THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
7// MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
8//
9// NVIDIA CORPORATION & AFFILIATES assumes no responsibility for the consequences of use of such
10// information or for any infringement of patents or other rights of third parties that may
11// result from its use. No license is granted by implication or otherwise under any patent
12// or patent rights of NVIDIA CORPORATION & AFFILIATES. No third party distribution is allowed unless
13// expressly authorized by NVIDIA. Details are subject to change without notice.
14// This code supersedes and replaces all information previously supplied.
15// NVIDIA CORPORATION & AFFILIATES products are not authorized for use as critical
16// components in life support devices or systems without express written approval of
17// NVIDIA CORPORATION & AFFILIATES.
18//
19// SPDX-FileCopyrightText: Copyright (c) 2016-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
20// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
21//
22// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
23// property and proprietary rights in and to this material, related
24// documentation and any modifications thereto. Any use, reproduction,
25// disclosure or distribution of this material and related documentation
26// without an express license agreement from NVIDIA CORPORATION or
27// its affiliates is strictly prohibited.
28//
30
31#ifndef DW_CORE_GEOMETRICDEFS_H_
32#define DW_CORE_GEOMETRICDEFS_H_
33
34#include "GeometricTypes.h"
35
36#ifdef __cplusplus
37extern "C" {
38#endif
39
44static const dwRect DW_INVALID_RECT = {.x = 0, .y = 0, .width = -1, .height = -1};
45
50static const dwRectf DW_INVALID_RECTF = {.x = (float32_t)0, .y = (float32_t)0, .width = (float32_t)-1, .height = (float32_t)-1};
51
54
58static const dwQuaternionf DW_IDENTITY_QUATERNIONF = {0.f, 0.f, 0.f, 1.f};
59
63static const dwQuaterniond DW_IDENTITY_QUATERNIOND = {0., 0., 0., 1.};
64
65#ifdef __cplusplus
66}
67#endif
68
69#endif // DW_CORE_GEOMETRICDEFS_H_
dwRect dwBox2D
Definition: GeometricDefs.h:52
static const dwQuaterniond DW_IDENTITY_QUATERNIOND
Identity for dwQuaterniond.
Definition: GeometricDefs.h:63
static const dwRect DW_INVALID_RECT
Invalid dwRect.
Definition: GeometricDefs.h:44
dwRectf dwBox2Df
Definition: GeometricDefs.h:53
static const dwRectf DW_INVALID_RECTF
Invalid dwRectf.
Definition: GeometricDefs.h:50
static const dwQuaternionf DW_IDENTITY_QUATERNIONF
Identity for dwQuaternionf.
Definition: GeometricDefs.h:58
float float32_t
Specifies POD types.
Definition: BasicTypes.h:59
Defines a double-precision quaternion.
Defines a single-precision quaternion.
Defines a rectangle.
int32_t y
Defines a rectangle with floating point numbers.
float32_t width