Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
#5338: Move SelectionVolume to libs/selection folder.
Define IRenderView interface to extend the regular VolumeTest. Move Camera implementation to core binary, activate GlobalCameraManager which creates the cameras.
- Loading branch information
1 parent
2cce849
commit 71032a5
Showing
37 changed files
with
469 additions
and
418 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#pragma once | ||
|
||
#include "ivolumetest.h" | ||
#include <cstddef> | ||
#include <string> | ||
|
||
class Frustum; | ||
|
||
namespace render | ||
{ | ||
|
||
// Interface used by camera views, extending the VolumeTest base | ||
// by some accessors needed to set up and run an openGL render pass. | ||
class IRenderView : | ||
public VolumeTest | ||
{ | ||
public: | ||
virtual ~IRenderView() {} | ||
|
||
virtual void construct(const Matrix4& projection, const Matrix4& modelview, std::size_t width, std::size_t height) = 0; | ||
|
||
virtual const Vector3& getViewer() const = 0; | ||
|
||
virtual const Frustum& getFrustum() const = 0; | ||
|
||
virtual std::string getCullStats() const = 0; | ||
}; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.