| 234 | } |
| 235 | |
| 236 | Plane JsonTools::GetPlane(const Value& value) |
| 237 | { |
| 238 | Plane result; |
| 239 | const auto mD = value.FindMember("D"); |
| 240 | result.Normal = GetVector3(value, "Normal", Vector3::One); |
| 241 | result.D = (Real)(mD != value.MemberEnd() ? mD->value.GetDouble() : 0.0); |
| 242 | return result; |
| 243 | } |
| 244 | |
| 245 | Rectangle JsonTools::GetRectangle(const Value& value) |
| 246 | { |
nothing calls this directly
no test coverage detected