MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / plane_line_intersect

Method plane_line_intersect

StereoKit/Native/NativeAPI.cs:82–83  ·  view source on GitHub ↗
(Plane plane, Vec3 p1, Vec3 p2, out Vec3 out_pt)

Source from the content-addressed store, hash-verified

80 [return: MarshalAs(UnmanagedType.Bool)]
81 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool plane_ray_intersect (Plane plane, Ray ray, out Vec3 out_pt);
82 [return: MarshalAs(UnmanagedType.Bool)]
83 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool plane_line_intersect (Plane plane, Vec3 p1, Vec3 p2, out Vec3 out_pt);
84 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Vec3 plane_point_closest (Plane plane, Vec3 pt);
85 [return: MarshalAs(UnmanagedType.Bool)]
86 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool sphere_ray_intersect (Sphere sphere, Ray ray, out Vec3 out_pt);

Callers 1

IntersectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected