MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / get_uv

Method get_uv

src/SB/Game/zEntCruiseBubble.cpp:1224–1243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1222 }
1223
1224 bool uv_animated_model::get_uv(RwTexCoords*& coords, S32& size, RpAtomic* m) const
1225 {
1226 coords = NULL;
1227 size = 0;
1228
1229 RpGeometry* geo = m->geometry;
1230 if (geo == NULL)
1231 {
1232 return false;
1233 }
1234
1235 size = geo->numVertices;
1236 if (!(size > 0))
1237 {
1238 return false;
1239 }
1240
1241 coords = *geo->texCoords;
1242 return coords != NULL;
1243 }
1244
1245 void show_gizmo(hud_gizmo& gizmo, const basic_rect<F32>& rect, xModelInstance* m)
1246 {

Callers 1

clone_uvMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected