| 116 | } |
| 117 | |
| 118 | bool Camera::isEqualTo( const Object *other ) const |
| 119 | { |
| 120 | if( !Renderable::isEqualTo( other ) ) |
| 121 | { |
| 122 | return false; |
| 123 | } |
| 124 | |
| 125 | const Camera *tOther = static_cast<const Camera *>( other ); |
| 126 | |
| 127 | // check parameters |
| 128 | if( !m_parameters->isEqualTo( tOther->m_parameters.get() ) ) |
| 129 | { |
| 130 | return false; |
| 131 | } |
| 132 | |
| 133 | return true; |
| 134 | } |
| 135 | |
| 136 | void Camera::memoryUsage( Object::MemoryAccumulator &a ) const |
| 137 | { |
no test coverage detected