Nameless Engine
Loading...
Searching...
No Matches
ne::LightingShaderResourceManager::ComputeShaderData::Plane Struct Reference

#include <LightingShaderResourceManager.h>

Public Attributes

glm::vec3 normal
 
float distanceFromOrigin
 

Detailed Description

Plane represented by a normal and a distance.

Warning
Exactly equal to the struct defined in shaders.

Member Data Documentation

◆ distanceFromOrigin

float ne::LightingShaderResourceManager::ComputeShaderData::Plane::distanceFromOrigin

Distance from the origin to the nearest point on the plane.

◆ normal

glm::vec3 ne::LightingShaderResourceManager::ComputeShaderData::Plane::normal

Plane's normal.


The documentation for this struct was generated from the following file: