TODO: another thing that needs fixed after RW gets implemented
| 846 | |
| 847 | // TODO: another thing that needs fixed after RW gets implemented |
| 848 | void iModelSetMaterialAlpha(RpAtomic* model, U8 alpha) |
| 849 | { |
| 850 | // RpGeometry* geom = RpAtomicGetGeometry(model); |
| 851 | |
| 852 | // if (model != sLastMaterial) |
| 853 | // { |
| 854 | // sMaterialFlags = 0; |
| 855 | // } |
| 856 | |
| 857 | // RpGeometrySetFlags(geom, RpGeometryGetFlags(geom) | rpGEOMETRYMODULATEMATERIALCOLOR); |
| 858 | |
| 859 | // sMaterialIdx = 0; |
| 860 | |
| 861 | // RpGeometryForAllMaterials(geom, iModelSetMaterialAlphaCB, &alpha); |
| 862 | |
| 863 | // sMaterialFlags |= 0x1; |
| 864 | // sLastMaterial = model; |
| 865 | } |
| 866 | |
| 867 | static RpMaterial* iModelResetMaterialCB(RpMaterial* material, void* data) |
| 868 | { |
no outgoing calls
no test coverage detected