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

Method GetDiffuse

source/external/tinyobj/tiny_obj_loader.h:247–254  ·  view source on GitHub ↗

For pybind11

Source from the content-addressed store, hash-verified

245#ifdef TINY_OBJ_LOADER_PYTHON_BINDING
246 // For pybind11
247 std::array<double, 3> GetDiffuse() {
248 std::array<double, 3> values;
249 values[0] = double(diffuse[0]);
250 values[1] = double(diffuse[1]);
251 values[2] = double(diffuse[2]);
252
253 return values;
254 }
255
256 std::array<double, 3> GetSpecular() {
257 std::array<double, 3> values;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected