Add todo.
This commit is contained in:
parent
38cde4b11f
commit
6613cd96cd
@ -6,6 +6,8 @@ OV.FinalizeModel = function (model, getDefaultMaterial)
|
|||||||
{
|
{
|
||||||
function AddAverageNormal (mesh, triangle, vertexIndex, triangleNormals, vertexToTriangles)
|
function AddAverageNormal (mesh, triangle, vertexIndex, triangleNormals, vertexToTriangles)
|
||||||
{
|
{
|
||||||
|
// TODO: do not calculate the same normal multiple times
|
||||||
|
|
||||||
let averageNormal = new OV.Coord3D (0.0, 0.0, 0.0);
|
let averageNormal = new OV.Coord3D (0.0, 0.0, 0.0);
|
||||||
let averageCount = 0;
|
let averageCount = 0;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user