Mercurial > mm7
diff mm7_1.cpp @ 1207:96a81634669e
arrays to std::arrays phase 3 - finishing global arrays
undone changes in render.h, because framerate dropped by half
author | Grumpy7 |
---|---|
date | Sun, 09 Jun 2013 01:30:36 +0200 |
parents | ab6560001f5b |
children | 182b910c528d |
line wrap: on
line diff
--- a/mm7_1.cpp Sun Jun 09 01:10:49 2013 +0200 +++ b/mm7_1.cpp Sun Jun 09 01:30:36 2013 +0200 @@ -2593,7 +2593,7 @@ char *v25; // [sp+2Ch] [bp-4h]@4 v1 = uVertexID; - memcpy(&array_50AC10[uVertexID], array_50AC10.data(), sizeof(array_50AC10[uVertexID])); + memcpy(&array_50AC10[uVertexID], array_50AC10, sizeof(array_50AC10[uVertexID])); v2 = 0; v20 = 0; if ( array_50AC10[0].vWorldViewPosition.x >= 8.0 ) @@ -2604,7 +2604,7 @@ v4 = (char *)&array_507D30[0].vWorldViewPosition.y; v5 = v1; v23 = (char *)&array_507D30[0]._rhw; - v21 = array_507D30.data(); + v21 = array_507D30; v18 = (char *)&array_507D30[0].vWorldViewPosition.z; v19 = (char *)&array_507D30[0].vWorldViewPosition.y; v22 = (char *)&array_507D30[0].vWorldViewPosition;