KiCad PCB EDA Suite
cobject.cpp File Reference
#include "cobject.h"
#include <cstdio>
#include <map>

Go to the source code of this file.

Variables

static const CBLINN_PHONG_MATERIAL s_defaultMaterial = CBLINN_PHONG_MATERIAL()
 
const std::map< OBJECT3D_TYPE, const char * > objectTypeNames
 

Variable Documentation

◆ objectTypeNames

const std::map<OBJECT3D_TYPE, const char*> objectTypeNames
Initial value:
{
{ OBJECT3D_TYPE::CYLINDER, "OBJECT3D_TYPE::CYLINDER" },
{ OBJECT3D_TYPE::DUMMYBLOCK, "OBJECT2D_TYPE::DUMMYBLOCK" },
{ OBJECT3D_TYPE::LAYERITEM, "OBJECT2D_TYPE::LAYERITEM" },
{ OBJECT3D_TYPE::XYPLANE, "OBJECT2D_TYPE::XYPLANE" },
{ OBJECT3D_TYPE::ROUNDSEG, "OBJECT2D_TYPE::ROUNDSEG" },
{ OBJECT3D_TYPE::TRIANGLE, "OBJECT2D_TYPE::TRIANGLE" }
}

Definition at line 53 of file cobject.cpp.

Referenced by COBJECT3D_STATS::PrintStats().

◆ s_defaultMaterial

const CBLINN_PHONG_MATERIAL s_defaultMaterial = CBLINN_PHONG_MATERIAL()
static

Definition at line 37 of file cobject.cpp.

Referenced by COBJECT::COBJECT().