| 101 | } |
| 102 | |
| 103 | FORCE_INLINE static float GetFloat(const Value& node, const char* name, const float defaultValue) |
| 104 | { |
| 105 | auto member = node.FindMember(name); |
| 106 | return member != node.MemberEnd() && member->value.IsNumber() ? member->value.GetFloat() : defaultValue; |
| 107 | } |
| 108 | |
| 109 | FORCE_INLINE static int32 GetInt(const Value& node, const char* name, const int32 defaultValue) |
| 110 | { |
no test coverage detected