Skip to content

Commit 6d39baf

Browse files
committed
Add a TODO in the ray caster
1 parent 0ebcb24 commit 6d39baf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/org/spout/physics/collision/RayCaster.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ private static boolean intersects(Vector3 rayStart, Vector3 rayDir, CollisionSha
139139
case CAPSULE:
140140
intersects = intersects(objRayStart, objRayDir, (CapsuleShape) shape, intersectionPoint);
141141
break;
142+
case CONVEX_MESH:
143+
// TODO: implement this
144+
intersects = false;
145+
break;
142146
default:
143147
throw new IllegalArgumentException("unknown collision shape");
144148
}

0 commit comments

Comments
 (0)