| 257 | } |
| 258 | |
| 259 | int32_t BspNode::WhichSide(Vector4<float> const& point) const |
| 260 | { |
| 261 | float dot = Dot(mWorldPlane, point); |
| 262 | return (dot > 0.0f ? +1 : (dot < 0.0f ? -1 : 0)); |
| 263 | } |
| 264 | |
| 265 | int32_t BspNode::WhichSide(std::shared_ptr<Camera> const& camera) const |
| 266 | { |
no test coverage detected