Skip to content

Commit a7c73fb

Browse files
committed
minor fixes
1 parent d0b8243 commit a7c73fb

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

example/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
<br><a href="test_obj.html">lightwave obj file viewer</a>
1616
<br><a href="test_sobel.html">test sobel edge detection shader</a>
1717
<br><a href="test_ssao.html">test screen space ambient occlusion (SSAO) shader</a>
18+
<br><a href="test_plasma.html">test plasma shader</a>
1819
</body>
1920
</html>

lib/src/mesh_data.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class MeshData {
2727

2828
if ( textureCoords != null && !(textureCoords is Float32List)) textureCoords = new Float32List.fromList(textureCoords);
2929

30-
if ( normals == null && !(normals is Float32List)) normals = new Float32List.fromList(normals);
30+
if ( normals != null && !(normals is Float32List)) normals = new Float32List.fromList(normals);
3131

3232
if (!(vertexIndices is Uint16List)) vertexIndices = new Uint16List.fromList(vertexIndices);
3333
}

0 commit comments

Comments
 (0)