blob: 401e9be9dd8caa1d37d4e6c6e0c3e061570064f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef BH_MATH_LINE_H
#define BH_MATH_LINE_H
#include "../Common.h"
int BH_LineFromPoints(const float a[2],
const float b[2],
float out[3]);
float BH_LineDistance(const float line[3],
const float point[2]);
void BH_LineClosestPoint(const float line[3],
const float point[2],
float out[2]);
#endif /* BH_MATH_LINE_H */
|