Bullet Collision Detection & Physics Library
Functions
SphereTriangleDetector.cpp File Reference
#include "LinearMath/btScalar.h"
#include "SphereTriangleDetector.h"
#include "BulletCollision/CollisionShapes/btTriangleShape.h"
#include "BulletCollision/CollisionShapes/btSphereShape.h"
Include dependency graph for SphereTriangleDetector.cpp:

Go to the source code of this file.

Functions

btScalar SegmentSqrDistance (const btVector3 &from, const btVector3 &to, const btVector3 &p, btVector3 &nearest)
 

Function Documentation

◆ SegmentSqrDistance()

btScalar SegmentSqrDistance ( const btVector3 & from,
const btVector3 & to,
const btVector3 & p,
btVector3 & nearest )

Definition at line 61 of file SphereTriangleDetector.cpp.