mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 12:37:51 +02:00
Update grid alpha
This commit is contained in:
parent
ec1ef39a7f
commit
a8de290482
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ Grid = function(opts) {
|
||||||
{ red: 255, green: 0, blue: 0 },
|
{ red: 255, green: 0, blue: 0 },
|
||||||
];
|
];
|
||||||
var colorIndex = 0;
|
var colorIndex = 0;
|
||||||
var gridAlpha = 1.0;
|
var gridAlpha = 0.6;
|
||||||
var origin = { x: 0, y: 0, z: 0 };
|
var origin = { x: 0, y: 0, z: 0 };
|
||||||
var majorGridEvery = 5;
|
var majorGridEvery = 5;
|
||||||
var minorGridWidth = 0.2;
|
var minorGridWidth = 0.2;
|
||||||
|
@ -24,7 +24,7 @@ Grid = function(opts) {
|
||||||
position: { x: 0 , y: 0, z: 0 },
|
position: { x: 0 , y: 0, z: 0 },
|
||||||
visible: true,
|
visible: true,
|
||||||
color: colors[0],
|
color: colors[0],
|
||||||
alpha: 1.0,
|
alpha: gridAlpha,
|
||||||
rotation: Quat.fromPitchYawRollDegrees(90, 0, 0),
|
rotation: Quat.fromPitchYawRollDegrees(90, 0, 0),
|
||||||
minorGridWidth: 0.1,
|
minorGridWidth: 0.1,
|
||||||
majorGridEvery: 2,
|
majorGridEvery: 2,
|
||||||
|
|
Loading…
Reference in a new issue