MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / CarShader

Method CarShader

src/Shaders/CarShader.cpp:10–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8const std::string fragSrc = "../shaders/CarFragmentShader.fragmentshader";
9
10CarShader::CarShader(shared_ptr<Car> &current_car) : super(vertexSrc, fragSrc){
11 car = current_car;
12 bindAttributes();
13 getAllUniformLocations();
14 loadEnvMapTextureData();
15}
16
17void CarShader::loadEnvMapTextureData() {
18 std::stringstream filename;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected