Skip to content

Commit b98d178

Browse files
committed
update PointsGeometry to fit the new streams API interfaces
1 parent 18881c9 commit b98d178

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/aerys/minko/example/core/points/PointsGeometry.as

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ package aerys.minko.example.core.points
4444
}
4545

4646
super(
47-
new <IVertexStream>[new VertexStream(StreamUsage.STATIC, PointsShader.VERTEX_FORMAT, vertices)],
48-
new IndexStream(StreamUsage.STATIC, indices)
47+
new <IVertexStream>[
48+
VertexStream.fromVector(StreamUsage.STATIC, PointsShader.VERTEX_FORMAT, vertices)
49+
],
50+
IndexStream.fromVector(StreamUsage.STATIC, indices)
4951
);
5052
}
5153
}

0 commit comments

Comments
 (0)