File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments