mirror of
https://github.com/bloeys/physx-go.git
synced 2025-12-29 07:58:20 +00:00
23 lines
380 B
C
Executable File
23 lines
380 B
C
Executable File
#ifndef CPxPlane_H
|
|
#define CPxPlane_H
|
|
|
|
#include "CPxVec3.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct CPxPlane
|
|
{
|
|
CSTRUCT CPxVec3 n; //!< The normal to the plane
|
|
float d; //!< The distance from the origin
|
|
};
|
|
|
|
CPxAPI CSTRUCT CPxPlane NewCPxPlane(float nx, float ny, float nz, float distance);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // !CPxPlane_H
|