| 163 | } |
| 164 | |
| 165 | void BloodSurface::AttachToModel(Model *attach_model) { |
| 166 | model = attach_model; |
| 167 | model_surface_walker.AttachTo(attach_model->vertices, attach_model->faces); |
| 168 | } |
| 169 | |
| 170 | vec2 GetTexCoords(Model *model, int tri, vec3 weights) { |
| 171 | unsigned tri_index = tri * 3; |