Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- }
- if ((this.cod.x <= -0.31 && this.cod.x >= -0.50) && (this.cod.y >= 0.56 && this.cod.y <= 0.92)) {
- this.posX = ((-0.00 + 1) * (this.rect.width - this.rect.left) / 2) + this.rect.left;
- // this.posY = this.rect.top - (((1.41 - 1) * (this.rect.top - this.rect.bottom)) / 2);
- this.posY = ((3 - 1.80) * (-this.rect.bottom + this.rect.top) / 2) + this.rect.top;
- this.showTooltip([this.posX, this.posY]);
- console.log('Upper Arm')
- }
- }
- if ((this.cod.x <= -0.31 && this.cod.x >= -0.50) && (this.cod.y >= 0.56 && this.cod.y <= 0.92)) {
- this.posX = ((-0.00 + 1) * (this.rect.width - this.rect.left) / 2) + this.rect.left;
- // this.posY = this.rect.top - (((1.41 - 1) * (this.rect.top - this.rect.bottom)) / 2);
- this.posY = ((3 - 1.80) * (-this.rect.bottom + this.rect.top) / 2) + this.rect.top;
- this.showTooltip([this.posX, this.posY]);
- console.log('Upper Arm')
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement