Overview
Comment: | Make GCC happy again |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d377e8819e533f35ba7dc3f5068ee5a9 |
User & Date: | js on 2023-02-19 17:40:53 |
Other Links: | manifest | tags |
Context
2023-03-18
| ||
22:43 | OFZIPArchive: Only use data descriptor if needed check-in: 89a51dab69 user: js tags: trunk | |
2023-02-19
| ||
17:40 | Make GCC happy again check-in: d377e8819e user: js tags: trunk | |
13:37 | OFMatrix4x4: Use 2D arrays in row-major format check-in: 975a812f36 user: js tags: trunk | |
Changes
Modified src/OFMatrix4x4.h from [817b6aa381] to [c303f1010a].
︙ | |||
31 32 33 34 35 36 37 | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | - + | #endif /** * @brief A 2D array of the 4x4 floats of the matrix in row-major format. * * These may be modified directly. */ |
︙ |
Modified src/OFMatrix4x4.m from [37363ee709] to [77a89afbe5].
︙ | |||
43 44 45 46 47 48 49 | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | - + - + - + + | self = [super init]; memcpy(_values, values, sizeof(_values)); return self; } |
︙ | |||
123 124 125 126 127 128 129 | 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 | - + - + | left[3][2] * right[2][3] + left[3][3] * right[3][3]; #undef left } - (void)translateWithVector: (OFVector3D)vector { OFMatrix4x4 *translation = [[OFMatrix4x4 alloc] initWithValues: |
︙ |
Modified tests/OFMatrix4x4Tests.m from [e27fadae34] to [ceb4a0e078].
︙ | |||
23 24 25 26 27 28 29 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | - + - + - + - + - + + | - (void)matrix4x4Tests { void *pool = objc_autoreleasePoolPush(); OFMatrix4x4 *matrix, *matrix2; OFVector4D point; TEST(@"+[identityMatrix]", |
︙ |