c434782e3a
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
36 lines
1.0 KiB
C
36 lines
1.0 KiB
C
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright 2020 Blender Foundation. All rights reserved. */
|
|
|
|
/** \file
|
|
* \ingroup intern_rigidbody
|
|
*/
|
|
|
|
#ifndef __RB_HULL_API_H__
|
|
#define __RB_HULL_API_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct plConvexHull__ {
|
|
int unused;
|
|
} * plConvexHull;
|
|
|
|
plConvexHull plConvexHullCompute(float (*coords)[3], int count);
|
|
void plConvexHullDelete(plConvexHull hull);
|
|
int plConvexHullNumVertices(plConvexHull hull);
|
|
int plConvexHullNumLoops(plConvexHull hull);
|
|
int plConvexHullNumFaces(plConvexHull hull);
|
|
void plConvexHullGetVertex(plConvexHull hull, int n, float coords[3], int *original_index);
|
|
void plConvexHullGetLoop(plConvexHull hull, int n, int *v_from, int *v_to);
|
|
int plConvexHullGetReversedLoopIndex(plConvexHull hull, int n);
|
|
int plConvexHullGetFaceSize(plConvexHull hull, int n);
|
|
void plConvexHullGetFaceLoops(plConvexHull hull, int n, int *loops);
|
|
void plConvexHullGetFaceVertices(plConvexHull hull, int n, int *vertices);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __RB_HULL_API_H__ */
|