corrected template parameter of VertexBorderCorner function

This commit is contained in:
nico 2017-01-27 12:20:31 +01:00
parent 7ddf4d27eb
commit c858faab65
1 changed files with 1 additions and 1 deletions

View File

@ -846,7 +846,7 @@ static void EdgeMeshUniform(MeshType &m, VertexSampler &ps, float radius, bool c
/// It assumes that the border flag have been set over the mesh both for vertex and for faces. /// It assumes that the border flag have been set over the mesh both for vertex and for faces.
/// All the vertices on the border where the edges of the boundary of the surface forms an angle smaller than the given threshold are sampled. /// All the vertices on the border where the edges of the boundary of the surface forms an angle smaller than the given threshold are sampled.
/// ///
static void VertexBorderCorner(MeshType & m, VertexSampler &ps, float angleRad) static void VertexBorderCorner(MeshType & m, VertexSampler &ps, ScalarType angleRad)
{ {
// typename MeshType::template PerVertexAttributeHandle<float> angleSumH = tri::Allocator<MeshType>:: template GetPerVertexAttribute<float> (m); // typename MeshType::template PerVertexAttributeHandle<float> angleSumH = tri::Allocator<MeshType>:: template GetPerVertexAttribute<float> (m);