| 145 | } |
| 146 | |
| 147 | bool View::isPostProcessNeeded() const noexcept { |
| 148 | return _scale != 1.0f || _effect != nullptr || EffekNode::getRunningNodes() > 0; |
| 149 | } |
| 150 | |
| 151 | float View::getStandardDistance() const noexcept { |
| 152 | return _size.height * 0.5f / std::tan(bx::toRad(_fieldOfView) * 0.5f); |