reflex2q3/ReflexToQ3/ckmath/ckmath_geometry.h
2015-02-02 15:41:03 +13:00

42 lines
976 B
C

//
// Author: Michael Cameron
// Email: chronokun@hotmail.com
//
#pragma once
#ifndef __MATH_GEOMETRY_H__
#define __MATH_GEOMETRY_H__
// Local Includes
#include "ckmath_types.h"
const bool IsIntersection( const TPlane3d& _krA,
const TPlane3d& _krB,
const TPlane3d& _krC);
const bool IsIntersection( const TPlane3f& _krA,
const TPlane3f& _krB,
const TPlane3f& _krC);
const TVector3d& GetIntersection( TVector3d& _rResult,
const TPlane3d& _krA,
const TPlane3d& _krB,
const TPlane3d& _krC);
const TVector3f& GetIntersection( TVector3f& _rResult,
const TPlane3f& _krA,
const TPlane3f& _krB,
const TPlane3f& _krC);
const TVector3d& GetPolygonNormal( TVector3d& _rResult,
const TVector3d* _kpVertices,
const size_t _kVertexCount);
const TVector3f& GetPolygonNormal( TVector3f& _rResult,
const TVector3f* _kpVertices,
const size_t _kVertexCount);
#endif