mirror of
https://github.com/overte-org/overte.git
synced 2025-06-22 13:20:46 +02:00
Removed warnings on mac and ubuntu
This commit is contained in:
parent
e9747e9d85
commit
8a011036ef
2 changed files with 0 additions and 3 deletions
|
@ -208,8 +208,6 @@ void LightStage::Shadow::setKeylightFrustum(const ViewFrustum& viewFrustum,
|
||||||
|
|
||||||
// Position the keylight frustum
|
// Position the keylight frustum
|
||||||
auto position = viewFrustum.getPosition() - (nearDepth + farDepth)*lightDirection;
|
auto position = viewFrustum.getPosition() - (nearDepth + farDepth)*lightDirection;
|
||||||
// Update the buffer
|
|
||||||
auto& schema = _schemaBuffer.edit<Schema>();
|
|
||||||
for (auto& cascade : _cascades) {
|
for (auto& cascade : _cascades) {
|
||||||
cascade._frustum->setOrientation(orientation);
|
cascade._frustum->setOrientation(orientation);
|
||||||
cascade._frustum->setPosition(position);
|
cascade._frustum->setPosition(position);
|
||||||
|
|
|
@ -390,7 +390,6 @@ void CullShapeBounds::run(const RenderContextPointer& renderContext, const Input
|
||||||
void FetchSpatialSelection::run(const RenderContextPointer& renderContext,
|
void FetchSpatialSelection::run(const RenderContextPointer& renderContext,
|
||||||
const Inputs& inputs, ItemBounds& outItems) {
|
const Inputs& inputs, ItemBounds& outItems) {
|
||||||
assert(renderContext->args);
|
assert(renderContext->args);
|
||||||
RenderArgs* args = renderContext->args;
|
|
||||||
auto& scene = renderContext->_scene;
|
auto& scene = renderContext->_scene;
|
||||||
auto& inSelection = inputs.get0();
|
auto& inSelection = inputs.get0();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue