Changeset 100 in svn for trunk/Utilities/FROG/Includes
- Timestamp:
- Dec 18, 2008, 2:39:26 PM (16 years ago)
- Location:
- trunk/Utilities/FROG/Includes/FROG
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/FROG/Includes/FROG/FROG_Chunk.h
r95 r100 114 114 #define C_PRIMITIVE_PARTIALSPHERE 41031 // Contains a sphere 115 115 #define C_PRIMITIVE_CYLINDER 41040 // Contains a cylinder 116 #define C_PRIMITIVE_CONE 41080 // Contains a cylinder 116 117 117 118 #define C_PRIMITIVE_SURFACE 42000 // Contains Chunks related to Surface Primtive (Plane, Disc, ...) -
trunk/Utilities/FROG/Includes/FROG/FROG_Element_Tools.cpp
r95 r100 139 139 } 140 140 break; 141 142 case C_PRIMITIVE_CONE : 143 NObjs = (chunk_size-chunk_read)/(FROG_Element_Primitive_Cone::sizeOf()-6); 144 for(int i=0;i<NObjs;i++){ 145 mother->addDaughter(new FROG_Element_Primitive_Cone(pFile)); 146 chunk_read += FROG_Element_Primitive_Cone::sizeOf()-6; 147 } 148 break; 149 141 150 142 151 case C_PRIMITIVE_CUSTOM_SURFACE : -
trunk/Utilities/FROG/Includes/FROG/FROG_Element_Tools.h
r95 r100 25 25 #include "FROG_Element_Primitive_PartialSphere.h" 26 26 #include "FROG_Element_Primitive_Cylinder.h" 27 #include "FROG_Element_Primitive_Cone.h" 27 28 28 29 #include "FROG_Element_Primitive_CustomSurface.h"
Note:
See TracChangeset
for help on using the changeset viewer.