forked from mirror/DotRecast
typo
This commit is contained in:
parent
c08f5f530f
commit
a4da8001e6
|
@ -29,8 +29,8 @@ namespace DotRecast.Detour.Dynamic.Colliders
|
|||
private readonly RcVec3f end;
|
||||
private readonly float radius;
|
||||
|
||||
public CapsuleCollider(RcVec3f start, RcVec3f end, float radius, int area, float flagMergeThreshold) :
|
||||
base(area, flagMergeThreshold, Bounds(start, end, radius))
|
||||
public CapsuleCollider(RcVec3f start, RcVec3f end, float radius, int area, float flagMergeThreshold)
|
||||
: base(area, flagMergeThreshold, Bounds(start, end, radius))
|
||||
{
|
||||
this.start = start;
|
||||
this.end = end;
|
||||
|
|
|
@ -28,15 +28,15 @@ namespace DotRecast.Detour.Dynamic.Colliders
|
|||
private readonly float[] vertices;
|
||||
private readonly int[] triangles;
|
||||
|
||||
public ConvexTrimeshCollider(float[] vertices, int[] triangles, int area, float flagMergeThreshold) :
|
||||
base(area, flagMergeThreshold, TrimeshCollider.ComputeBounds(vertices))
|
||||
public ConvexTrimeshCollider(float[] vertices, int[] triangles, int area, float flagMergeThreshold)
|
||||
: base(area, flagMergeThreshold, TrimeshCollider.ComputeBounds(vertices))
|
||||
{
|
||||
this.vertices = vertices;
|
||||
this.triangles = triangles;
|
||||
}
|
||||
|
||||
public ConvexTrimeshCollider(float[] vertices, int[] triangles, float[] bounds, int area, float flagMergeThreshold) :
|
||||
base(area, flagMergeThreshold, bounds)
|
||||
public ConvexTrimeshCollider(float[] vertices, int[] triangles, float[] bounds, int area, float flagMergeThreshold)
|
||||
: base(area, flagMergeThreshold, bounds)
|
||||
{
|
||||
this.vertices = vertices;
|
||||
this.triangles = triangles;
|
||||
|
|
|
@ -28,8 +28,8 @@ namespace DotRecast.Detour.Dynamic.Colliders
|
|||
private readonly RcVec3f center;
|
||||
private readonly float radius;
|
||||
|
||||
public SphereCollider(RcVec3f center, float radius, int area, float flagMergeThreshold) :
|
||||
base(area, flagMergeThreshold, Bounds(center, radius))
|
||||
public SphereCollider(RcVec3f center, float radius, int area, float flagMergeThreshold)
|
||||
: base(area, flagMergeThreshold, Bounds(center, radius))
|
||||
{
|
||||
this.center = center;
|
||||
this.radius = radius;
|
||||
|
|
|
@ -28,8 +28,8 @@ namespace DotRecast.Detour.Dynamic.Colliders
|
|||
private readonly float[] vertices;
|
||||
private readonly int[] triangles;
|
||||
|
||||
public TrimeshCollider(float[] vertices, int[] triangles, int area, float flagMergeThreshold) :
|
||||
base(area, flagMergeThreshold, ComputeBounds(vertices))
|
||||
public TrimeshCollider(float[] vertices, int[] triangles, int area, float flagMergeThreshold)
|
||||
: base(area, flagMergeThreshold, ComputeBounds(vertices))
|
||||
{
|
||||
this.vertices = vertices;
|
||||
this.triangles = triangles;
|
||||
|
|
|
@ -18,7 +18,7 @@ freely, subject to the following restrictions:
|
|||
|
||||
using System;
|
||||
using System.IO.Compression;
|
||||
using System.Numerics;
|
||||
|
||||
using DotRecast.Core;
|
||||
|
||||
namespace DotRecast.Detour.Extras.Unity.Astar
|
||||
|
|
Loading…
Reference in New Issue