mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Allow rotating entity selectionboxes (#12379)
This commit is contained in:
parent
b829231992
commit
077627181e
18 changed files with 271 additions and 58 deletions
|
@ -74,4 +74,8 @@ public:
|
|||
* @returns true if a collision point was found
|
||||
*/
|
||||
bool boxLineCollision(const aabb3f &box, const v3f &start, const v3f &dir,
|
||||
v3f *collision_point, v3s16 *collision_normal);
|
||||
v3f *collision_point, v3f *collision_normal);
|
||||
|
||||
bool boxLineCollision(const aabb3f &box, const v3f &box_rotation,
|
||||
const v3f &start, const v3f &dir,
|
||||
v3f *collision_point, v3f *collision_normal, v3f *raw_collision_normal);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue