LeprovostQuentin / mt4j

Automatically exported from code.google.com/p/mt4j
GNU General Public License v2.0
0 stars 0 forks source link

input re-targeting doesn't work when a MTSceneTexture is created elsewhere than (0, 0) #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a MTSceneTexture with the x and y parameters different from 0

What is the expected output? What do you see instead?
An offset appears between where the input is redirected and where it should be.

What version of the product are you using? On what operating system?
repository version from about a week ago

Please provide any additional information below.
Could be solved by keeping the x and y parameters at construction, and then 
 change lines 247 and 248 by
    newX = interSP.x - this.x;
    newY = interSP.y - this.y;

Original issue reported on code.google.com by mattsl...@gmail.com on 18 Aug 2010 at 1:42

GoogleCodeExporter commented 8 years ago
Confirmed and fixed.

Original comment by sirhc.f...@gmail.com on 18 Aug 2010 at 5:20

GoogleCodeExporter commented 8 years ago
thanks

Original comment by mattsl...@gmail.com on 19 Aug 2010 at 8:48