Blender V4.3
GeoCommon.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2002-2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#ifndef __GEOCOMMON_H__
6#define __GEOCOMMON_H__
7
8#define UCHAR unsigned char
9#define USHORT unsigned short
10
11#define USE_MINIMIZER
12
19// 3d point with integer coordinates
20typedef struct {
21 int x, y, z;
22} Point3i;
23
24typedef struct {
28
29// triangle that points to three vertices
30typedef struct {
31 float vt[3][3];
32} Triangle;
33
34// 3d point with float coordinates
35typedef struct {
36 float x, y, z;
37} Point3f;
38
39typedef struct {
43
44#endif /* __GEOCOMMON_H__ */
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
Definition btQuadWord.h:117
struct BoundingBox { packed_float3 min; packed_float3 max;} BoundingBox
Point3i begin
Definition GeoCommon.h:25
Point3i end
Definition GeoCommon.h:26
Point3f end
Definition GeoCommon.h:41
Point3f begin
Definition GeoCommon.h:40
float x
Definition GeoCommon.h:36
int x
Definition GeoCommon.h:21