Rename ol.structs.Buffer to ol.webgl.Buffer

The Buffer class is WebGL specific, and it's not really a "data structure", in the pure sense of the term.
This commit is contained in:
Éric Lemoine
2014-11-21 15:48:31 +01:00
parent dae5bd53b7
commit 57db47ac18
6 changed files with 27 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
goog.provide('ol.test.structs.Buffer');
goog.provide('ol.test.webgl.Buffer');
describe('ol.structs.Buffer', function() {
describe('ol.webgl.Buffer', function() {
describe('constructor', function() {
@@ -9,7 +9,7 @@ describe('ol.structs.Buffer', function() {
var b;
beforeEach(function() {
b = new ol.structs.Buffer();
b = new ol.webgl.Buffer();
});
it('constructs an empty instance', function() {
@@ -22,7 +22,7 @@ describe('ol.structs.Buffer', function() {
var b;
beforeEach(function() {
b = new ol.structs.Buffer([0, 1, 2, 3]);
b = new ol.webgl.Buffer([0, 1, 2, 3]);
});
it('constructs a populated instance', function() {
@@ -37,7 +37,7 @@ describe('ol.structs.Buffer', function() {
var b;
beforeEach(function() {
b = new ol.structs.Buffer();
b = new ol.webgl.Buffer();
});
describe('getArray', function() {
@@ -52,4 +52,4 @@ describe('ol.structs.Buffer', function() {
});
goog.require('ol.structs.Buffer');
goog.require('ol.webgl.Buffer');