MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / getNormalInPlane

Function getNormalInPlane

source/MRMesh/MRPolylineSubdivide.cpp:30–33  ·  view source on GitHub ↗

rotation around planeNormal on 90 degrees

Source from the content-addressed store, hash-verified

28
29// rotation around planeNormal on 90 degrees
30inline Vector3f getNormalInPlane( const Vector3f & planeNormal, const Vector3f & a )
31{
32 return cross( planeNormal, a );
33}
34
35// rotation on 90 degrees in 2D plane
36inline Vector2f getNormalInPlane( int, const Vector2f & a )

Callers 1

subdividePolylineTFunction · 0.85

Calls 1

crossFunction · 0.70

Tested by

no test coverage detected