| 425 | } |
| 426 | |
| 427 | Json::Value SphericalProjection::JsonValue() const |
| 428 | { |
| 429 | Json::Value root = EffectBase::JsonValue(); |
| 430 | root["type"] = info.class_name; |
| 431 | root["yaw"] = yaw.JsonValue(); |
| 432 | root["pitch"] = pitch.JsonValue(); |
| 433 | root["roll"] = roll.JsonValue(); |
| 434 | root["fov"] = fov.JsonValue(); |
| 435 | root["in_fov"] = in_fov.JsonValue(); |
| 436 | root["projection_mode"] = projection_mode; |
| 437 | root["invert"] = invert; |
| 438 | root["input_model"] = input_model; |
| 439 | root["interpolation"] = interpolation; |
| 440 | return root; |
| 441 | } |
| 442 | |
| 443 | void SphericalProjection::SetJson(const std::string value) |
| 444 | { |
nothing calls this directly
no outgoing calls
no test coverage detected