Changeset 222 for cpp/frams/vm
- Timestamp:
- 04/11/14 23:39:36 (11 years ago)
- Location:
- cpp/frams/vm/classes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/vm/classes/3dobject.cpp
r197 r222 203 203 ExtObject Pt3D_Ext::makeDynamicObject(Pt3D_Ext* p) 204 204 {return ExtObject(&getStaticParam(),p);} 205 206 ExtObject Pt3D_Ext::makeDynamicObject(const Pt3D& p) 207 { 208 Pt3D_Ext *pe=new Pt3D_Ext(p); 209 return ExtObject(&getStaticParam(),pe); 210 } 205 211 206 212 ////////////////////////////////////// … … 571 577 return (ReferenceObj*)v.getObjectTarget(getStaticParam().getName()); 572 578 } 579 580 ///////////// 581 582 REGISTER_DESERIALIZABLE(Pt3D_Ext) 583 REGISTER_DESERIALIZABLE(Orient_Ext) -
cpp/frams/vm/classes/3dobject.h
r197 r222 38 38 static ExtObject makeStaticObject(Pt3D* p); 39 39 static ExtObject makeDynamicObject(Pt3D_Ext* p); 40 static ExtObject makeDynamicObject(const Pt3D& p); 40 41 static Pt3D_Ext* fromObject(const ExtValue& v); 41 42 static Param& getStaticParam(); -
cpp/frams/vm/classes/genoobj.cpp
r219 r222 137 137 ret->setEmpty(); 138 138 } 139 140 ///////////// 141 142 REGISTER_DESERIALIZABLE(GenoObj)
Note: See TracChangeset
for help on using the changeset viewer.