This repository has been archived on 2026-04-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
bhlib/include/BH/Math/Line.h
Mikhail Romanko fc774fd0ff Refactor, separate docs from headers, add ru docs
Doxygen kind'a sucks and I need multilanguage documentation, so I did
that. Also, separated massive Math.h file into smaller files.
2025-06-21 20:12:15 +03:00

24 lines
446 B
C

#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 */