Differences From Artifact [92d0f266d8]:
- File src/MD2.m — part of check-in [e258bfb559] at 2025-03-22 21:29:47 on branch trunk — Use OFColor instead of abusing OFVector3D (user: js, size: 5260) [annotate] [blame] [check-ins using]
To Artifact [1b5856edcb]:
- File
src/MD2.m
— part of check-in
[6b85eefc85]
at
2025-03-23 02:47:40
on branch trunk
— Remove loop[ijkl]
They confused clang-format a lot. (user: js, size: 5212) [annotate] [blame] [check-ins using]
︙ | |||
123 124 125 126 127 128 129 | 123 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 152 153 154 155 156 157 158 159 160 | - + - + - + - - + | { OFAssert(_mverts[frame] == NULL); _mverts[frame] = OFAllocMemory(_numVerts, sizeof(OFVector3D)); struct md2_frame *cf = (struct md2_frame *)((char *)_frames + _frameSize * frame); float sc = 16.0f / scale; |
︙ | |||
188 189 190 191 192 193 194 | 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | - + - | if (numVertex > 0) { glBegin(GL_TRIANGLE_STRIP); } else { glBegin(GL_TRIANGLE_FAN); numVertex = -numVertex; } |
︙ |