| 164 | } |
| 165 | |
| 166 | void SpherePrimitive::save( IECore::Object::SaveContext *context ) const |
| 167 | { |
| 168 | Primitive::save(context); |
| 169 | IndexedIOPtr container = context->container( staticTypeName(), m_ioVersion ); |
| 170 | |
| 171 | container->write( g_radiusEntry, m_radius ); |
| 172 | container->write( g_zMinEntry, m_zMin ); |
| 173 | container->write( g_zMaxEntry, m_zMax ); |
| 174 | container->write( g_thetaMaxEntry, m_thetaMax ); |
| 175 | } |
| 176 | |
| 177 | void SpherePrimitive::load( IECore::Object::LoadContextPtr context ) |
| 178 | { |