mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:35:08 +02:00
Smaller and hotter circle, per Philip
This commit is contained in:
parent
b31300406a
commit
1145c3b590
1 changed files with 3 additions and 3 deletions
|
@ -557,12 +557,12 @@ function MyController(hand) {
|
|||
this.searchSphereOn = function (location, size, color) {
|
||||
|
||||
var rotation = Quat.lookAt(location, Camera.getPosition(), Vec3.UP);
|
||||
var brightColor = colorPow(color, 0.1);
|
||||
var brightColor = colorPow(color, 0.06);
|
||||
if (this.searchSphere === null) {
|
||||
var sphereProperties = {
|
||||
position: location,
|
||||
rotation: rotation,
|
||||
outerRadius: size * 3.0,
|
||||
outerRadius: size * 1.2,
|
||||
innerColor: brightColor,
|
||||
outerColor: color,
|
||||
innerAlpha: 0.9,
|
||||
|
@ -581,7 +581,7 @@ function MyController(hand) {
|
|||
outerColor: color,
|
||||
innerAlpha: 1.0,
|
||||
outerAlpha: 0.0,
|
||||
outerRadius: size * 3.0,
|
||||
outerRadius: size * 1.2,
|
||||
visible: true
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue