Euphoria
positionedlines.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 
5 #include "render/instance.h"
6 #include "render/compiledlines.h"
7 
8 namespace eu::render
9 {
10  struct PositionedLines : public Instance
11  {
12  PositionedLines(const std::shared_ptr<CompiledLines>& alines);
13 
14  void
15  render
16  (
17  const mat4f& projection_matrix,
18  const mat4f& view_matrix,
19  const vec3f& camera,
20  const render::Light& light
21  ) override;
22 
23  std::shared_ptr<CompiledLines> lines;
24  };
25 }
Definition: mat4.h:14
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