{ "id": "78526", "key": "TIMOB-4836", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15576", "description": "2013 Sprint 16", "name": "2013 Sprint 16", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "15578", "description": "2013 Sprint 16 API", "name": "2013 Sprint 16 API", "archived": true, "released": true, "releaseDate": "2013-08-12" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-07-29T23:36:47.000+0000", "created": "2011-07-29T13:17:00.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "2dmatrix", "core", "rotate" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [ { "id": "12047", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "78685", "key": "TIMOB-4874", "fields": { "summary": "Parity Issue: iOS vs Android issues with API translate method for 2D matrix", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T22:46:36.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Steps to Reproduce:\r\n1. Run the attached .js file\r\n2. Click on the blue square\r\n\r\nActual Result\r\nNothing happens\r\n\r\nExpected Result:\r\nShould rotate the blue object -360 degree and the red object 360 degree", "attachment": [ { "id": "22154", "filename": "app.js", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-29T13:17:00.000+0000", "size": 1143, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iOS: 2dmatrix rotation value is not rotating when its end value is where it starts", "creator": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iPhone 4 (4.3.4) with 1.8.0.v20110728091758", "comment": { "comments": [ { "id": "263812", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is due to how rotations are implemented: iOS uses a pure mathematical 2D matrix, Android does not, and stores a rotation as a value as opposed to sin and cos values.\n\nA 2D matrix is a 2*3 matrix that can be used on (x,y) points to shear, scale, translate, and rotate an image. The values are stateless, and do not indicate a direction or path, only the final effect. To represent rotation of θ, sin(θ) and cos(θ) values are used. Note that because sin(360° + θ) is the same as sin(θ), and cos(360° + θ) also has no difference, there is no way to mathematically express a full rotation.\n\nMarking as invalid due to math.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-29T23:35:41.000+0000", "updated": "2013-07-29T23:35:41.000+0000" }, { "id": "263813", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "2D matrices use sin and cos, and thus won't represent full rotations.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-29T23:36:47.000+0000", "updated": "2013-07-29T23:36:47.000+0000" }, { "id": "409007", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T22:46:36.000+0000", "updated": "2017-03-03T22:46:36.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }