Moved frustum class to vks namespace (Refs #260)
This commit is contained in:
parent
88526730cb
commit
f35ef9d7ac
4 changed files with 4 additions and 4 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
|
|
||||||
namespace vkTools
|
namespace vks
|
||||||
{
|
{
|
||||||
class Frustum
|
class Frustum
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ public:
|
||||||
} compute;
|
} compute;
|
||||||
|
|
||||||
// View frustum for culling invisible objects
|
// View frustum for culling invisible objects
|
||||||
vkTools::Frustum frustum;
|
vks::Frustum frustum;
|
||||||
|
|
||||||
uint32_t objectCount = 0;
|
uint32_t objectCount = 0;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ public:
|
||||||
float objectSphereDim;
|
float objectSphereDim;
|
||||||
|
|
||||||
// View frustum for culling invisible objects
|
// View frustum for culling invisible objects
|
||||||
vkTools::Frustum frustum;
|
vks::Frustum frustum;
|
||||||
|
|
||||||
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
|
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ public:
|
||||||
uint64_t pipelineStats[2] = { 0 };
|
uint64_t pipelineStats[2] = { 0 };
|
||||||
|
|
||||||
// View frustum passed to tessellation control shader for culling
|
// View frustum passed to tessellation control shader for culling
|
||||||
vkTools::Frustum frustum;
|
vks::Frustum frustum;
|
||||||
|
|
||||||
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
|
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue