DubiousEngine
0.2.0
Simple Game Engine
|
An object that can render a shadow volume. More...
#include <Shadow_renderer.h>
Public Member Functions | |
Shadow_renderer ()=default | |
Constructor. More... | |
Shadow_renderer (const Shadow_renderer &)=delete | |
Shadow_renderer & | operator= (const Shadow_renderer &)=delete |
void | render_shadow_volume (const std::shared_ptr< Visible_object > &object, const Math::Local_point &ligh_position) |
Call to render the shadow. More... | |
An object that can render a shadow volume.
A ShadowRenderer is an object capable of rendering a shadow. The Scene object will call on this while rendering the scene to draw the shadow of each object
|
default |
Constructor.
|
delete |
|
delete |
void Dubious::Renderer::Shadow_renderer::render_shadow_volume | ( | const std::shared_ptr< Visible_object > & | object, |
const Math::Local_point & | ligh_position | ||
) |
Call to render the shadow.
object | - [in] the object that needs a shadow |
ligh_position | - [in] Where the light is in the local coord space |