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

Function WorldToLocal

source/external/tinyobj/tiny_obj_loader.h:1487–1490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1485}
1486
1487inline TinyObjPoint WorldToLocal(const TinyObjPoint &a, const TinyObjPoint &u,
1488 const TinyObjPoint &v, const TinyObjPoint &w) {
1489 return TinyObjPoint(dot(a, u), dot(a, v), dot(a, w));
1490}
1491
1492// TODO(syoyo): refactor function.
1493static bool exportGroupsToShape(shape_t *shape, const PrimGroup &prim_group,

Callers 1

exportGroupsToShapeFunction · 0.85

Calls 2

TinyObjPointClass · 0.85
dotFunction · 0.85

Tested by

no test coverage detected