Fixing typo from userMateriald to userMaterialId

I want to look at other issues, this is mostly a test of getting the
process down with something easy
This commit is contained in:
Rob Luppi committed 2026-10-05 08:44:04 -04:00
1 parent 8ca9cc4486
commit 4fdb889c81
1 file changed
+1 -1
+1 -1
View File
@@ -104,7 +104,7 @@ OverlapResultFcn :: proc "c" (shapeId: ShapeId, ctx: rawptr) -> bool
// @return -1 to filter, 0 to terminate, fraction to clip the ray for closest hit, 1 to continue
// @see b3World_CastRay
// @ingroup world
CastResultFcn :: proc "c" (shapeId: ShapeId, point: Pos, normal: Vec3, fraction: f32, userMateriald: u64, triangleIndex: c.int, childIndex: c.int, ctx: rawptr) -> f32
CastResultFcn :: proc "c" (shapeId: ShapeId, point: Pos, normal: Vec3, fraction: f32, userMaterialId: u64, triangleIndex: c.int, childIndex: c.int, ctx: rawptr) -> f32
@(link_prefix="b3", default_calling_convention="c", require_results)
foreign lib {