No breaking change in setVerticesBuffer
@@ -239,6 +239,11 @@
if (kind === VertexBuffer.PositionKind) {
if (totalVertices != null) {
this._totalVertices = totalVertices;
+ } else {
+ var data = <FloatArray>buffer.getData();
+ if (data != null) {
+ this._totalVertices = data.length / (buffer.byteStride * 4);
+ }
}
this._updateExtend();