KiCad PCB EDA Suite
Loading...
Searching...
No Matches
object_3d.cpp File Reference
#include "object_3d.h"
#include <board_item.h>
#include "../hitinfo.h"
#include <map>

Go to the source code of this file.

Variables

static const BLINN_PHONG_MATERIAL s_defaultMaterial = BLINN_PHONG_MATERIAL()
 
const std::map< OBJECT_3D_TYPE, const char * > objectTypeNames
 

Variable Documentation

◆ objectTypeNames

const std::map<OBJECT_3D_TYPE, const char*> objectTypeNames
Initial value:
{
{ OBJECT_3D_TYPE::CYLINDER, "OBJECT_3D_TYPE::CYLINDER" },
{ OBJECT_3D_TYPE::DUMMYBLOCK, "OBJECT_3D_TYPE::DUMMY_BLOCK" },
{ OBJECT_3D_TYPE::LAYERITEM, "OBJECT_3D_TYPE::LAYER_ITEM" },
{ OBJECT_3D_TYPE::XYPLANE, "OBJECT_3D_TYPE::XY_PLANE" },
{ OBJECT_3D_TYPE::ROUNDSEG, "OBJECT_3D_TYPE::ROUND_SEG" },
{ OBJECT_3D_TYPE::TRIANGLE, "OBJECT_3D_TYPE::TRIANGLE" }
}

Definition at line 54 of file object_3d.cpp.

◆ s_defaultMaterial

const BLINN_PHONG_MATERIAL s_defaultMaterial = BLINN_PHONG_MATERIAL()
static

Definition at line 37 of file object_3d.cpp.

Referenced by OBJECT_3D::OBJECT_3D().