MCPcopy Create free account
hub / github.com/SaschaWillems/HowToVulkan / SetDiffuse

Method SetDiffuse

source/external/tinyobj/tiny_obj_loader.h:292–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290 }
291
292 void SetDiffuse(std::array<double, 3> &a) {
293 diffuse[0] = real_t(a[0]);
294 diffuse[1] = real_t(a[1]);
295 diffuse[2] = real_t(a[2]);
296 }
297
298 void SetAmbient(std::array<double, 3> &a) {
299 ambient[0] = real_t(a[0]);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected