Changeset 247 for trunk/src/mesh


Ignore:
Timestamp:
Mar 1, 2006 12:00:14 PM (18 years ago)
Author:
cxsong
Message:

added erase()

Location:
trunk/src/mesh
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mesh/node2d.h

    r211 r247  
    4141        RP_ERROR deserialize(const char* buf);
    4242
     43        void erase() {
     44                m_id = 0; m_x = m_y = 0;
     45        };
     46
    4347        void print();
    4448
  • trunk/src/mesh/node3d.h

    r242 r247  
    5151        void print();
    5252
     53        void erase() {
     54                m_id = 0;
     55                m_x = m_y = m_z = 0;
     56        };
     57
    5358        virtual ~RpNode3d() { };
    5459
Note: See TracChangeset for help on using the changeset viewer.