lore-engine
Advanced tools
Comparing version 1.0.12 to 1.0.13
{ | ||
"name": "lore-engine", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "A WebGL based 3D data visualization engine.", | ||
"main": "./dist/lore.js", | ||
"main": "./app.js", | ||
"directories": { | ||
@@ -7,0 +7,0 @@ "example": "example" |
@@ -6,3 +6,3 @@ ![Lore](https://github.com/reymond-group/lore/blob/master/logo.png?raw=true) | ||
# Lore | ||
Current Version: 1.0.12 ([Godzilla](https://youtu.be/RTzb-sduiWc)) | ||
Current Version: 1.0.13 ([Godzilla](https://youtu.be/RTzb-sduiWc)) | ||
@@ -9,0 +9,0 @@ ### Teasers |
@@ -50,2 +50,38 @@ //@ts-check | ||
/** | ||
* Get the red component of the color. | ||
* | ||
* @returns {Number} The red component of the color. | ||
*/ | ||
getR() { | ||
return this.components[0]; | ||
} | ||
/** | ||
* Get the green component of the color. | ||
* | ||
* @returns {Number} The green component of the color. | ||
*/ | ||
getG() { | ||
return this.components[0]; | ||
} | ||
/** | ||
* Get the blue component of the color. | ||
* | ||
* @returns {Number} The blue component of the color. | ||
*/ | ||
getB() { | ||
return this.components[0]; | ||
} | ||
/** | ||
* Get the alpha component of the color. | ||
* | ||
* @returns {Number} The alpha component of the color. | ||
*/ | ||
getA() { | ||
return this.components[0]; | ||
} | ||
/** | ||
* Set the r,g,b,a components from a hex string. | ||
@@ -52,0 +88,0 @@ * |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
44209035
32450