Ray.getClosestPointToPoint

void getClosestPointToPoint(graphene.point3_d.Point3D p, out graphene.point3_d.Point3D res)

Computes the point on the given #graphene_ray_t that is closest to the given point p.

Parameters

pa #graphene_point3d_t
resreturn location for the closest point3d