| 67 | } |
| 68 | |
| 69 | void Mesh::SetTexture(unsigned int index, IDirect3DTexture9 * texture) |
| 70 | { |
| 71 | _ASSERT(index < _meshMaterialCount); |
| 72 | SAFE_RELEASE(_meshTextures[index]); |
| 73 | _meshTextures[index] = texture; |
| 74 | texture->AddRef(); |
| 75 | } |
| 76 | |
| 77 | void Mesh::Render(const Vec3 &position, const Mat33 &orientation, const Vec3 &halfDimensions) |
| 78 | { |
no test coverage detected