Euphoria
positionedlines.cc
Go to the documentation of this file.
2 
3 #include "assert/assert.h"
4 
5 namespace eu::render
6 {
8  (
9  const std::shared_ptr<CompiledLines>& alines
10  )
11  : lines(alines)
12  {
13  ASSERT(alines);
14  }
15 
16  void
18  (
19  const mat4f& projection_matrix,
20  const mat4f& view_matrix,
21  const vec3f&,
22  const Light&
23  )
24  {
25  lines->render
26  (
28  projection_matrix,
29  view_matrix
30  );
31  }
32 }
#define ASSERT(x)
Definition: assert.h:29
Definition: mat4.h:14
mat4f calc_model_matrix() const
Definition: instance.cc:12
void render(const mat4f &projection_matrix, const mat4f &view_matrix, const vec3f &camera, const render::Light &light) override
std::shared_ptr< CompiledLines > lines
PositionedLines(const std::shared_ptr< CompiledLines > &alines)
Definition: vec3.h:48