MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / cross

Function cross

src/serializers/GltfSerializer.cpp:513–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511 }
512
513 void cross(const std::array<double, 3>& v1, const std::array<double, 3>& v2, std::array<double, 3>& result) {
514 result[0] = v1[1] * v2[2] - v1[2] * v2[1];
515 result[1] = v1[2] * v2[0] - v1[0] * v2[2];
516 result[2] = v1[0] * v2[1] - v1[1] * v2[0];
517 }
518
519 void proj_log(void *, int, const char* c) {
520 Logger::Error("PROJ: " + std::string(c));

Callers 1

setFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected