File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/src/vector_math_geometry/generators Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,22 +58,22 @@ abstract class GeometryGenerator {
58
58
var view = mesh.getViewForAttrib ('POSITION' );
59
59
if (view is Vector3List ) {
60
60
positionView = view;
61
- generateVertexPositions (positionView! , mesh.indices! );
61
+ generateVertexPositions (positionView, mesh.indices! );
62
62
}
63
63
64
64
if (flags.texCoords || flags.tangents) {
65
65
view = mesh.getViewForAttrib ('TEXCOORD0' );
66
66
if (view is Vector2List ) {
67
67
texCoordView = view;
68
- generateVertexTexCoords (texCoordView! , positionView! , mesh.indices! );
68
+ generateVertexTexCoords (texCoordView, positionView! , mesh.indices! );
69
69
}
70
70
}
71
71
72
72
if (flags.normals || flags.tangents) {
73
73
view = mesh.getViewForAttrib ('NORMAL' );
74
74
if (view is Vector3List ) {
75
75
normalView = view;
76
- generateVertexNormals (normalView! , positionView! , mesh.indices! );
76
+ generateVertexNormals (normalView, positionView! , mesh.indices! );
77
77
}
78
78
}
79
79
You can’t perform that action at this time.
0 commit comments