mirror of
https://git.sleeping.town/mirrors/foxy-moxy
synced 2024-11-21 19:47:43 +00:00
limit ear range
This commit is contained in:
parent
4448a59dd0
commit
52637bf2e3
1 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ var Fox = function (IMG_WIDTH, IMG_HEIGHT) {
|
|||
var headHeight = IMG_HEIGHT / 2;
|
||||
|
||||
var ears = (function () {
|
||||
var offsetX = chance.floating({min: 0, max: headWidth/2});
|
||||
var offsetX = chance.floating({min: 0.1 * headWidth, max: 0.4 * headWidth});
|
||||
var angle = chance.floating({min: 0, max: Math.PI / 6});
|
||||
// TODO: size, angle?
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue