[TIMOB-4990] iOS: Add Ti.UI.create3DMatrix() and deprecate
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Trivial |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-11-05T14:17:39.000+0000 |
| Affected Version/s | Release 1.7.2 |
| Fix Version/s | Sprint 2011-32, Release 1.8.0 |
| Components | iOS |
| Labels | deprecated-1.8.0, parity |
| Reporter | Stephen Tramer |
| Assignee | Stephen Tramer |
| Created | 2011-08-12T14:47:19.000+0000 |
| Updated | 2011-12-11T11:32:54.000+0000 |
Description
TIMOB-4652 moved Ti.UI.create3DMatrix() onto Ti.UI.iOS.create3DMatrix(), but did not retain a function for backwards compatibility. Going to add it back into the old namespace for deprecation/backcompat purposes.
TEST ----
PASS ---- - The code compiles and runs, providing the expected result (1/1/1) in the log. Note that this must be tested both on simulator AND VIA A DEVICE BUILD IN TISTUDIO. Otherwise the compile/API detection process will not be run, and any conditional-compile code will NOT be picked up. Part of this bug is ensuring that conditional compile detection still works.var matrix = Ti.UI.create3DMatrix(); matrix.m33 = 1.0; matrix.m22 = 1.0; matrix.m11 = 1.0; Ti.API.info("Matrix diagonal: "+matrix.m11+"/"+matrix.m22+"/"+matrix.m33);Passed as expected on: iPhone Simulator iPod 3rd Gen 4.0.2 iPhone 4 4.2.10 iPad 2 4.3.2 SDK: version=1.8.0 timestamp=08/26/11 14:53 githash=8e978eb...
Standardizing summary and labels.