MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / AttachToModel

Method AttachToModel

Source/Graphics/bloodsurface.cpp:165–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

LoadMethod · 0.80
LoadMethod · 0.80

Calls 1

AttachToMethod · 0.45

Tested by

no test coverage detected