| 130 | } |
| 131 | |
| 132 | void BoxBrush::SetMaterial(int32 surfaceIndex, MaterialBase* material) |
| 133 | { |
| 134 | CHECK(Math::IsInRange(surfaceIndex, 0, 5)); |
| 135 | Surfaces[surfaceIndex].Material = material; |
| 136 | OnBrushModified(); |
| 137 | } |
| 138 | |
| 139 | bool BoxBrush::Intersects(int32 surfaceIndex, const Ray& ray, Real& distance, Vector3& normal) const |
| 140 | { |
no test coverage detected