forked from mirror/DotRecast
add GetMesh() in IInputGeomProvider
This commit is contained in:
parent
afc9d26d52
commit
e4b5bddac7
|
@ -61,6 +61,11 @@ namespace DotRecast.Recast.Toolset.Geom
|
|||
_mesh = new RcTriMesh(vertices, faces);
|
||||
}
|
||||
|
||||
public RcTriMesh GetMesh()
|
||||
{
|
||||
return _mesh;
|
||||
}
|
||||
|
||||
public RcVec3f GetMeshBoundsMin()
|
||||
{
|
||||
return bmin;
|
||||
|
|
|
@ -26,6 +26,7 @@ namespace DotRecast.Recast.Geom
|
|||
{
|
||||
public interface IInputGeomProvider
|
||||
{
|
||||
RcTriMesh GetMesh();
|
||||
RcVec3f GetMeshBoundsMin();
|
||||
|
||||
RcVec3f GetMeshBoundsMax();
|
||||
|
|
|
@ -81,6 +81,11 @@ namespace DotRecast.Recast.Geom
|
|||
_mesh = new RcTriMesh(vertices, faces);
|
||||
}
|
||||
|
||||
public RcTriMesh GetMesh()
|
||||
{
|
||||
return _mesh;
|
||||
}
|
||||
|
||||
public RcVec3f GetMeshBoundsMin()
|
||||
{
|
||||
return bmin;
|
||||
|
|
Loading…
Reference in New Issue