Skip to content

Vp::GfxUtils

Functions

Name
std::pair< glm::vec3, glm::vec3 >createBoundingBox(std::vector< glm::vec3 > points)
voidextractZNearZFar(glm::mat4 projection, float & zNear, float & zFar)

Functions Documentation

function createBoundingBox

cpp
inline std::pair< glm::vec3, glm::vec3 > createBoundingBox(
    std::vector< glm::vec3 > points
)
inline std::pair< glm::vec3, glm::vec3 > createBoundingBox(
    std::vector< glm::vec3 > points
)

function extractZNearZFar

cpp
void extractZNearZFar(
    glm::mat4 projection,
    float & zNear,
    float & zFar
)
void extractZNearZFar(
    glm::mat4 projection,
    float & zNear,
    float & zFar
)

Updated on 2024-11-06 at 20:16:53 +0000