| 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 | { |