| 251 | } |
| 252 | |
| 253 | BoundingSphere JsonTools::GetBoundingSphere(const Value& value) |
| 254 | { |
| 255 | BoundingSphere result; |
| 256 | const auto mRadius = value.FindMember("Radius"); |
| 257 | result.Center = GetVector3(value, "Center", Vector3::Zero); |
| 258 | result.Radius = mRadius != value.MemberEnd() ? mRadius->value.GetFloat() : 0.0f; |
| 259 | return result; |
| 260 | } |
| 261 | |
| 262 | BoundingBox JsonTools::GetBoundingBox(const Value& value) |
| 263 | { |
nothing calls this directly
no test coverage detected