Blender V5.0
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
20struct Point3i {
21 int x, y, z;
22};
23
28
29// triangle that points to three vertices
30struct Triangle {
31 float vt[3][3];
32};
33
34// 3d point with float coordinates
35struct Point3f {
36 float x, y, z;
37};
38
43
44#endif /* __GEOCOMMON_H__ */
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 z
Definition GeoCommon.h:36
float y
Definition GeoCommon.h:36
float x
Definition GeoCommon.h:36
int z
Definition GeoCommon.h:21
int x
Definition GeoCommon.h:21
int y
Definition GeoCommon.h:21
float vt[3][3]
Definition GeoCommon.h:31