- Timestamp:
- 09/28/05 18:13:19 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Polygon3.cpp
r299 r300 123 123 vtx.push_back(rot * (*it)); 124 124 125 Vector3 *cur = &vtx.back();125 Vector3 cur = vtx.back(); 126 126 127 127 float area = 0.0f; 128 128 for (it = vtx.begin(); it != vtx.end(); ++it) 129 129 { 130 area += cur ->y * (*it).x - cur->x * (*it).y;131 132 *cur = (*it);130 area += cur.y * (*it).x - cur.x * (*it).y; 131 132 cur = *it; 133 133 } 134 134
Note: See TracChangeset
for help on using the changeset viewer.