Skip to content

Commit bf2e3bb

Browse files
committed
fix: linting errors
1 parent e022703 commit bf2e3bb

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/vgl/texture.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,14 @@ vgl.texture = function () {
155155
};
156156

157157
/**
158-
* Set Raw Texture data in Uint8Array
159-
*
160-
* @param {object} texture: texture object to load.
161-
* type: 'RGB' | 'RGBA' | 'Luminance' | 'LuminanceAlpha'.
162-
* texture: Uint8Array representing the format based on the type
163-
* width: width of the texture
164-
* height: height of the texture
165-
* @returns {boolean}
158+
* Set Raw Texture data using Uint8Array
159+
*
160+
* @param {object} texture texture object to load.
161+
* type: 'RGB' | 'RGBA' | 'Luminance' | 'LuminanceAlpha'.
162+
* texture: Uint8Array representing the format based on the type
163+
* width: width of the texture
164+
* height: height of the texture
165+
* @returns {boolean}
166166
*/
167167
this.setTexture = function (texture) {
168168
if (texture !== null) {

tests/cases/quadFeature.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ describe('geo.quadFeature', function () {
644644

645645
var width = 32, height = 32;
646646
var lumData = new Uint8Array(width * height);
647-
647+
648648
// Fill with a checkerboard pattern
649649
for (var i = 0; i < lumData.length; i++) {
650650
var x = i % width;
@@ -685,7 +685,7 @@ describe('geo.quadFeature', function () {
685685
// Create LuminanceAlpha texture data (2 bytes per pixel)
686686
var width = 16, height = 16;
687687
var laData = new Uint8Array(width * height * 2);
688-
688+
689689
// Fill with a radial gradient
690690
for (var i = 0; i < laData.length; i += 2) {
691691
var pixelIndex = i / 2;

0 commit comments

Comments
 (0)