Blender
V5.0
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
struct
Point3i
{
21
int
x
,
y
,
z
;
22
};
23
24
struct
BoundingBox
{
25
Point3i
begin
;
26
Point3i
end
;
27
};
28
29
// triangle that points to three vertices
30
struct
Triangle
{
31
float
vt
[3][3];
32
};
33
34
// 3d point with float coordinates
35
struct
Point3f
{
36
float
x
,
y
,
z
;
37
};
38
39
struct
BoundingBoxf
{
40
Point3f
begin
;
41
Point3f
end
;
42
};
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
for Blender by
doxygen
1.16.1