Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -478,7 +478,7 @@ export function resetViewerCamera() {
|
|
| 478 |
* Change the main model's diffuse color in real time.
|
| 479 |
* r,g,b are floats [0,1]. This is a reusable function for new colors.
|
| 480 |
*/
|
| 481 |
-
export function changeColor(dr, dg, db, er, eg, eb, boolTrans
|
| 482 |
|
| 483 |
//cameraEntity.camera.clearColor = new pc.Color(colorBgR, colorBgG, colorBgB);
|
| 484 |
|
|
|
|
| 478 |
* Change the main model's diffuse color in real time.
|
| 479 |
* r,g,b are floats [0,1]. This is a reusable function for new colors.
|
| 480 |
*/
|
| 481 |
+
export function changeColor(dr, dg, db, er, eg, eb, boolTrans) {
|
| 482 |
|
| 483 |
//cameraEntity.camera.clearColor = new pc.Color(colorBgR, colorBgG, colorBgB);
|
| 484 |
|