blob: ddb1ae543926c70d01dfe9ec4238ae115e6aa6e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "network.h"
#include <gfx/gl/shader.h>
#include <gfx/models/texture.h>
template<typename T>
void
NetworkOf<T>::render(const Shader & shader) const
{
shader.setModel(Location {}, Shader::Program::StaticPos);
texture->Bind();
links.apply(&T::render, shader);
}
|