| 413 | } |
| 414 | |
| 415 | RpAtomic* xFXAtomicEnvMapSetup(RpAtomic* atomic, U32 aid, F32 shininess) |
| 416 | { |
| 417 | void* asset = xSTFindAsset(aid, NULL); |
| 418 | if (asset) |
| 419 | { |
| 420 | AtomicSetEnvMap(atomic, asset); |
| 421 | F32 oldShininess = EnvMapShininess; |
| 422 | EnvMapShininess = shininess; |
| 423 | AtomicSetShininess(atomic, NULL); |
| 424 | EnvMapShininess = oldShininess; |
| 425 | RpSkin* skin = RpSkinGeometryGetSkin(atomic->geometry); |
| 426 | if (skin) |
| 427 | { |
| 428 | RpSkinAtomicSetType(atomic, rpSKINTYPEMATFX); |
| 429 | } |
| 430 | return atomic; |
| 431 | } |
| 432 | return NULL; |
| 433 | } |
| 434 | |
| 435 | void xFXAuraAdd(void*, xVec3*, iColor_tag*, F32) |
| 436 | { |
no test coverage detected