diff --git a/src/DotRecast.Detour.Dynamic/Colliders/AbstractCollider.cs b/src/DotRecast.Detour.Dynamic/Colliders/AbstractCollider.cs index a636a62..883362a 100644 --- a/src/DotRecast.Detour.Dynamic/Colliders/AbstractCollider.cs +++ b/src/DotRecast.Detour.Dynamic/Colliders/AbstractCollider.cs @@ -38,9 +38,6 @@ namespace DotRecast.Detour.Dynamic.Colliders return _bounds; } - public void rasterize(Heightfield hf, Telemetry telemetry) - { - ///? - } + public abstract void rasterize(Heightfield hf, Telemetry telemetry); } } \ No newline at end of file diff --git a/src/DotRecast.Detour.Dynamic/Colliders/BoxCollider.cs b/src/DotRecast.Detour.Dynamic/Colliders/BoxCollider.cs index 8080c6d..28b0c4e 100644 --- a/src/DotRecast.Detour.Dynamic/Colliders/BoxCollider.cs +++ b/src/DotRecast.Detour.Dynamic/Colliders/BoxCollider.cs @@ -60,7 +60,7 @@ namespace DotRecast.Detour.Dynamic.Colliders return bounds; } - public void rasterize(Heightfield hf, Telemetry telemetry) + public override void rasterize(Heightfield hf, Telemetry telemetry) { RecastFilledVolumeRasterization.rasterizeBox( hf, center, halfEdges, area, (int)Math.Floor(flagMergeThreshold / hf.ch), telemetry); diff --git a/src/DotRecast.Detour.Dynamic/Colliders/CapsuleCollider.cs b/src/DotRecast.Detour.Dynamic/Colliders/CapsuleCollider.cs index 5e7cca6..18163b3 100644 --- a/src/DotRecast.Detour.Dynamic/Colliders/CapsuleCollider.cs +++ b/src/DotRecast.Detour.Dynamic/Colliders/CapsuleCollider.cs @@ -36,7 +36,7 @@ namespace DotRecast.Detour.Dynamic.Colliders this.radius = radius; } - public void rasterize(Heightfield hf, Telemetry telemetry) + public override void rasterize(Heightfield hf, Telemetry telemetry) { RecastFilledVolumeRasterization.rasterizeCapsule(hf, start, end, radius, area, (int)Math.Floor(flagMergeThreshold / hf.ch), telemetry); diff --git a/src/DotRecast.Detour.Dynamic/Colliders/ConvexTrimeshCollider.cs b/src/DotRecast.Detour.Dynamic/Colliders/ConvexTrimeshCollider.cs index ba5f463..90c6c56 100644 --- a/src/DotRecast.Detour.Dynamic/Colliders/ConvexTrimeshCollider.cs +++ b/src/DotRecast.Detour.Dynamic/Colliders/ConvexTrimeshCollider.cs @@ -40,7 +40,7 @@ namespace DotRecast.Detour.Dynamic.Colliders this.triangles = triangles; } - public void rasterize(Heightfield hf, Telemetry telemetry) + public override void rasterize(Heightfield hf, Telemetry telemetry) { RecastFilledVolumeRasterization.rasterizeConvex(hf, vertices, triangles, area, (int)Math.Floor(flagMergeThreshold / hf.ch), telemetry); diff --git a/src/DotRecast.Detour.Dynamic/Colliders/CylinderCollider.cs b/src/DotRecast.Detour.Dynamic/Colliders/CylinderCollider.cs index 59a7cc9..77e0f45 100644 --- a/src/DotRecast.Detour.Dynamic/Colliders/CylinderCollider.cs +++ b/src/DotRecast.Detour.Dynamic/Colliders/CylinderCollider.cs @@ -36,7 +36,7 @@ namespace DotRecast.Detour.Dynamic.Colliders this.radius = radius; } - public void rasterize(Heightfield hf, Telemetry telemetry) + public override void rasterize(Heightfield hf, Telemetry telemetry) { RecastFilledVolumeRasterization.rasterizeCylinder(hf, start, end, radius, area, (int)Math.Floor(flagMergeThreshold / hf.ch), telemetry); diff --git a/src/DotRecast.Detour.Dynamic/Colliders/SphereCollider.cs b/src/DotRecast.Detour.Dynamic/Colliders/SphereCollider.cs index b4d0e90..cb786ec 100644 --- a/src/DotRecast.Detour.Dynamic/Colliders/SphereCollider.cs +++ b/src/DotRecast.Detour.Dynamic/Colliders/SphereCollider.cs @@ -34,7 +34,7 @@ namespace DotRecast.Detour.Dynamic.Colliders this.radius = radius; } - public void rasterize(Heightfield hf, Telemetry telemetry) + public override void rasterize(Heightfield hf, Telemetry telemetry) { RecastFilledVolumeRasterization.rasterizeSphere(hf, center, radius, area, (int)Math.Floor(flagMergeThreshold / hf.ch), telemetry); diff --git a/src/DotRecast.Detour.Dynamic/Colliders/TrimeshCollider.cs b/src/DotRecast.Detour.Dynamic/Colliders/TrimeshCollider.cs index 4d2bdd7..3327917 100644 --- a/src/DotRecast.Detour.Dynamic/Colliders/TrimeshCollider.cs +++ b/src/DotRecast.Detour.Dynamic/Colliders/TrimeshCollider.cs @@ -56,7 +56,7 @@ namespace DotRecast.Detour.Dynamic.Colliders return bounds; } - public void rasterize(Heightfield hf, Telemetry telemetry) + public override void rasterize(Heightfield hf, Telemetry telemetry) { for (int i = 0; i < triangles.Length; i += 3) {