RenderableTargetingEntity Class Reference

#include <targetable.h>

Collaboration diagram for RenderableTargetingEntity:
Collaboration graph
[legend]

Public Member Functions

 RenderableTargetingEntity (TargetingEntity &targets)
void compile (const VolumeTest &volume, const Vector3 &world_position) const
void render (Renderer &renderer, const VolumeTest &volume, const Vector3 &world_position) const

Static Public Attributes

static Shader * m_state

Private Attributes

TargetingEntitym_targets
RenderablePointVector m_target_lines

Detailed Description

Definition at line 257 of file targetable.h.


Constructor & Destructor Documentation

RenderableTargetingEntity::RenderableTargetingEntity ( TargetingEntity targets  )  [inline]

Definition at line 264 of file targetable.h.


Member Function Documentation

void RenderableTargetingEntity::compile ( const VolumeTest volume,
const Vector3 world_position 
) const [inline]

Definition at line 268 of file targetable.h.

References m_target_lines, m_targets, TargetingEntity::size(), and TargetingEntity_forEach().

Referenced by render().

void RenderableTargetingEntity::render ( Renderer renderer,
const VolumeTest volume,
const Vector3 world_position 
) const [inline]

Field Documentation

Definition at line 262 of file targetable.h.

RenderablePointVector RenderableTargetingEntity::m_target_lines [mutable, private]

Definition at line 260 of file targetable.h.

Referenced by compile(), and render().

Definition at line 259 of file targetable.h.

Referenced by compile(), and render().


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

Generated by  doxygen 1.6.2