MeshLib
 
Loading...
Searching...
No Matches
MRArrow.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3#include "MRVector3.h"
4
5namespace MR
6{
7 // creates hollow arrow from the 'base' to the 'vert'. Number of points on the circle 'qual' is between 3 and 256
8 MRMESH_API Mesh makeArrow(const Vector3f& base, const Vector3f& vert, const float& thickness = 0.05f, const float& coneRadius = 0.1f, const float coneSize = 0.2f, const int qual = 32);
9 // creates the mesh with 3 axis arrows
10 MRMESH_API Mesh makeBasisAxes(const float& size = 1.0f, const float& thickness = 0.05f, const float& coneRadius = 0.1f, const float coneSize = 0.2f, const int qual = 32);
11}
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
represents a 3-dimentional float-typed vector
Definition MRDotNet/MRVector3.h:8
Definition MRCameraOrientationPlugin.h:7
ImVec2 size(const ViewportRectangle &rect)
Definition MRViewport.h:32
MRMESH_API Mesh makeArrow(const Vector3f &base, const Vector3f &vert, const float &thickness=0.05f, const float &coneRadius=0.1f, const float coneSize=0.2f, const int qual=32)
MRMESH_API Mesh makeBasisAxes(const float &size=1.0f, const float &thickness=0.05f, const float &coneRadius=0.1f, const float coneSize=0.2f, const int qual=32)
Definition MRMesh/MRMesh.h:23