Changeset 985 for Daodan/src/patches/Patches.c
- Timestamp:
- Mar 17, 2014, 3:08:55 AM (13 years ago)
- File:
-
- 1 edited
-
Daodan/src/patches/Patches.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Daodan/src/patches/Patches.c
r984 r985 123 123 int16_t ONICALL DD_COrTextArea_Resize(void* inTextArea, UUtRect* inBounds, int16_t inNumTextEntries) { 124 124 if (inTextArea == COgCommandLine) { 125 inBounds->top -= 5;125 inBounds->top -= 8; 126 126 } 127 127 return Oni_COrTextArea_Resize(inTextArea, inBounds, inNumTextEntries); … … 137 137 OBJtOSD_TriggerVolume *trigger_osd = &inOSD->osd.trigger_volume_osd; 138 138 M3tPoint3D *points = trigger_osd->volume.worldPoints; 139 M3tPoint3D trigger_center = {0, 0, 0};140 139 UUtUns32 shade = 0xFFFFFF; 141 140 … … 166 165 M3rGeom_Line_Light(points + 3, points + 7, shade); 167 166 M3rGeom_Line_Light(points + 2, points + 6, shade); 168 169 for(itr = 0; itr < M3cNumBoundingPoints; itr++)170 {171 MUmVector_Add(trigger_center, trigger_center, points[itr]);172 }173 174 MUmVector_Scale(trigger_center, (1.0f / ((float) M3cNumBoundingPoints)));175 167 } 176 168
Note:
See TracChangeset
for help on using the changeset viewer.
