| 1186 | } |
| 1187 | |
| 1188 | bool uv_animated_model::init(RpAtomic* m) |
| 1189 | { |
| 1190 | this->model = m; |
| 1191 | if (m == NULL) |
| 1192 | { |
| 1193 | return false; |
| 1194 | } |
| 1195 | |
| 1196 | if (!this->clone_uv(this->uv, this->uvsize, m)) |
| 1197 | { |
| 1198 | return false; |
| 1199 | } |
| 1200 | |
| 1201 | this->offset.assign(0.0f, 0.0f); |
| 1202 | this->offset_vel.assign(0.0f, 0.0f); |
| 1203 | return true; |
| 1204 | } |
| 1205 | |
| 1206 | bool uv_animated_model::clone_uv(RwTexCoords*& coords, S32& size, RpAtomic* m) const |
| 1207 | { |
no test coverage detected