Changeset 2174 for trunk/src/ddraw/rectangle.cpp
- Timestamp:
- Dec 21, 1999, 2:28:20 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ddraw/rectangle.cpp
r405 r2174 1 /* $Id: rectangle.cpp,v 1.3 1999-12-21 01:28:17 hugh Exp $ */ 2 3 /* 4 * Rectangle class Implementaion 5 * 6 * Copyright 1999 Markus Montkowski 7 * 8 * Project Odin Software License can be found in LICENSE.TXT 9 * 10 */ 11 12 typedef long BOOL; 13 1 14 #include "rectangle.h" 2 15 … … 13 26 } 14 27 15 IBase::BooleanDDRectangle::operator == ( const DDRectangle &aRect ) const28 BOOL DDRectangle::operator == ( const DDRectangle &aRect ) const 16 29 { 17 30 return ( lTop == aRect.lTop && lLeft == aRect.lLeft … … 19 32 lBottom == aRect.lBottom && lRight == aRect.lRight); 20 33 } 21 IBase::BooleanDDRectangle::operator != ( const DDRectangle& aRect ) const34 BOOL DDRectangle::operator != ( const DDRectangle& aRect ) const 22 35 { 23 36 return !( *this == aRect ); 24 37 } 25 IBase::BooleanDDRectangle::intersects ( const DDRectangle &aRect ) const38 BOOL DDRectangle::intersects ( const DDRectangle &aRect ) const 26 39 { 27 40 return ( lTop < aRect.lBottom && lLeft<aRect.lRight
Note:
See TracChangeset
for help on using the changeset viewer.