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

Method sphere_ray_intersect

StereoKit/Native/NativeAPI.cs:85–86  ·  view source on GitHub ↗
(Sphere sphere, Ray ray, out Vec3 out_pt)

Source from the content-addressed store, hash-verified

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);
87 [return: MarshalAs(UnmanagedType.Bool)]
88 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool sphere_point_contains (Sphere sphere, Vec3 pt);
89 [return: MarshalAs(UnmanagedType.Bool)]

Callers 2

IntersectMethod · 0.80
IntersectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected