--------------------------------------------------------------------
| 267 | |
| 268 | //-------------------------------------------------------------------- |
| 269 | bool Writer::writeLight( const COLLADAFW::Light* light ) |
| 270 | { |
| 271 | _Log("writeLight("<< light->getName()<<")"); |
| 272 | _Log(",type="<<light->getLightType() |
| 273 | <<",uid="<<light->getUniqueId().toAscii() |
| 274 | <<",oid="<<light->getObjectId() |
| 275 | <<",orid="<<light->getOriginalId() |
| 276 | <<"light name="<< light->getName() |
| 277 | <<",type="<< light->getLightType() |
| 278 | <<",color="<< light->getColor().getRed()<<","<< light->getColor().getGreen()<<","<<light->getColor().getBlue() |
| 279 | <<",const attenuation="<< light->getConstantAttenuation().getValue() |
| 280 | <<",linear attenuation="<< light->getLinearAttenuation().getValue() |
| 281 | <<",quadratic attenuation="<< light->getQuadraticAttenuation().getValue() |
| 282 | <<",fallOffAngle="<< light->getFallOffAngle().getValue() |
| 283 | <<",fallOffExp="<< light->getFallOffExponent().getValue() |
| 284 | ); |
| 285 | lightMap.insert( std::make_pair(light->getUniqueId(),light) ); |
| 286 | |
| 287 | return true; |
| 288 | } |
| 289 | |
| 290 | //-------------------------------------------------------------------- |
| 291 | bool Writer::writeAnimation( const COLLADAFW::Animation* animation ) |
nothing calls this directly
no test coverage detected