7 return JPH_Plane(inNormal, -dot(inNormal, inPoint));
17 return dot(inPoint, inPlane.xyz) + inPlane.w;
float4 JPH_Plane
Definition ShaderCore.h:49
float JPH_PlaneSignedDistance(JPH_Plane inPlane, float3 inPoint)
Definition ShaderPlane.h:15
JPH_Plane JPH_PlaneFromPointAndNormal(float3 inPoint, float3 inNormal)
Definition ShaderPlane.h:5
float3 JPH_PlaneGetNormal(JPH_Plane inPlane)
Definition ShaderPlane.h:10