Changeset 544 for trunk/VUT/GtpVisibilityPreprocessor/src/Triangle3.h
- Timestamp:
- 01/16/06 19:33:48 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Triangle3.h
r191 r544 37 37 38 38 float GetSpatialAngle(const Vector3 &point) const; 39 40 float GetArea() const { 41 Vector3 v1=mVertices[0]-mVertices[1], v2=mVertices[2]-mVertices[1]; 42 return 0.5f * Magnitude(CrossProd(v2, v1)); 43 } 39 44 }; 40 45
Note: See TracChangeset
for help on using the changeset viewer.