Blender
V4.3
intern
dualcon
intern
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
18
19
// 3d point with integer coordinates
20
typedef
struct
{
21
int
x
,
y
,
z
;
22
}
Point3i
;
23
24
typedef
struct
{
25
Point3i
begin
;
26
Point3i
end
;
27
}
BoundingBox
;
28
29
// triangle that points to three vertices
30
typedef
struct
{
31
float
vt
[3][3];
32
}
Triangle
;
33
34
// 3d point with float coordinates
35
typedef
struct
{
36
float
x
,
y
,
z
;
37
}
Point3f
;
38
39
typedef
struct
{
40
Point3f
begin
;
41
Point3f
end
;
42
}
BoundingBoxf
;
43
44
#endif
/* __GEOCOMMON_H__ */
BoundingBox
Definition
GeoCommon.h:24
BoundingBox::begin
Point3i begin
Definition
GeoCommon.h:25
BoundingBox::end
Point3i end
Definition
GeoCommon.h:26
BoundingBoxf
Definition
GeoCommon.h:39
BoundingBoxf::end
Point3f end
Definition
GeoCommon.h:41
BoundingBoxf::begin
Point3f begin
Definition
GeoCommon.h:40
Point3f
Definition
GeoCommon.h:35
Point3f::z
float z
Definition
GeoCommon.h:36
Point3f::y
float y
Definition
GeoCommon.h:36
Point3f::x
float x
Definition
GeoCommon.h:36
Point3i
Definition
GeoCommon.h:20
Point3i::z
int z
Definition
GeoCommon.h:21
Point3i::x
int x
Definition
GeoCommon.h:21
Point3i::y
int y
Definition
GeoCommon.h:21
Triangle
Definition
GeoCommon.h:30
Triangle::vt
float vt[3][3]
Definition
GeoCommon.h:31
Generated on Sat Oct 4 2025 05:32:23 for Blender by
doxygen
1.14.0