Exemple #1
0
inline float PlaneDistance(Vec4f plane, Vec3f p)
{
    return dot(plane.AsVec3(), p) + plane[3];
}