17 lines
422 B
C#
17 lines
422 B
C#
namespace Nanomesh
|
|
{
|
|
public class NormalsFixer
|
|
{
|
|
public void Start(ConnectedMesh mesh)
|
|
{
|
|
/*
|
|
for (int i = 0; i < mesh.attributes.Length; i++)
|
|
{
|
|
Attribute attribute = mesh.attributes[i];
|
|
attribute.normal = attribute.normal.Normalized;
|
|
mesh.attributes[i] = attribute;
|
|
}
|
|
*/
|
|
}
|
|
}
|
|
} |