| 898 | RwV3dTransformPoints((RwV3d*)dest, (RwV3d*)&tag->v, 1, mat); |
| 899 | } |
| 900 | } |
| 901 | |
| 902 | void iModelTagEval(RpAtomic* model, const xModelTagWithNormal* tag, RwMatrix* mat, xVec3* dest, |
| 903 | xVec3* normal) |
| 904 | { |
| 905 | iModelTagEval(model, tag, mat, dest); |
| 906 | if (tag->wt[0]) |
| 907 | { |
| 908 | RpGeometry* geom = RpAtomicGetGeometry(model); |
| 909 | RpSkin* skin = RpSkinGeometryGetSkin(geom); |
| 910 | const RwMatrix* skinmat = RpSkinGetSkinToBoneMatrices(skin); |
| 911 | SkinNormals(normal, &tag->normal, mat, skinmat, tag->wt, &tag->matidx, 1); |
| 912 | } |
| 913 | else |
| 914 | { |
| 915 | RwV3dTransformPoints((RwV3d*)normal, (RwV3d*)&tag->normal, 1, mat); |
| 916 | } |
| 917 | } |
| 918 |
no outgoing calls
no test coverage detected