MeshLib Documentation
Loading...
Searching...
No Matches
MRMesh/MRCube.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3#include "MRVector3.h"
4
5namespace MR
6{
7// Base is "lower" corner of the cube coordinates
8MRMESH_API Mesh makeCube( const Vector3f& size = Vector3f::diagonal(1.0f), const Vector3f& base = Vector3f::diagonal(-0.5f) );
9
10MRMESH_API Mesh makeParallelepiped(const Vector3f side[3], const Vector3f& base);
11
12}
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRCameraOrientationPlugin.h:8
MRMESH_API Mesh makeParallelepiped(const Vector3f side[3], const Vector3f &base)
ImVec2 size(const ViewportRectangle &rect)
Definition MRViewport.h:32
MRMESH_API Mesh makeCube(const Vector3f &size=Vector3f::diagonal(1.0f), const Vector3f &base=Vector3f::diagonal(-0.5f))
Definition MRMesh/MRMesh.h:23