| 216 | } |
| 217 | |
| 218 | static void OutputTextureView(const char* name, TextureView* p, int indent) |
| 219 | { |
| 220 | if (!p) |
| 221 | return; |
| 222 | OutputIndent(indent); |
| 223 | printf("%s:\n", name); |
| 224 | if (p->m_Texture) |
| 225 | { |
| 226 | OutputIndent(indent+1); |
| 227 | printf("texture: %s\n", p->m_Texture->m_Name); |
| 228 | } |
| 229 | |
| 230 | OutputValue("tex_coord", p->m_Texcoord, indent); |
| 231 | OutputValue("scale", p->m_Scale, indent); |
| 232 | |
| 233 | if (p->m_HasTransform) |
| 234 | { |
| 235 | OutputIndent(indent+1); |
| 236 | printf("transform:\n"); |
| 237 | OutputTextureTransform(&p->m_Transform, indent+1); |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | static void OutputTexture(Texture* texture, int indent) |
| 242 | { |
no test coverage detected