INNER CODE UNIT · C++

cube2

Hykudoru/Pescado-Engine-Embedded-ESP32S3 · src/main.cpp:87

static CubeMesh cube2 = CubeMesh(1, Vec3(-5, -5, 10));
static CubeMesh cube3 = CubeMesh(1, Vec3(-5, 5, -20));  
static CubeMesh cube4 = CubeMesh(1, Vec3(5, 5, -30));

void Init()
{
  Graphics::matrixMode = true;
  Graphics::lighting = false;
  Graphics::displayWireFrames = true;
  Graphics::fillTriangles = false;
  Graphics::debugAxes = true;
  Physics::collisionDetection = false;
  FOV(60);
  cube2.color = Color::green;
  cube3.color = Color::red;
  cube4.color = Color::yellow;
  //Mesh* cube0 = new CubeMesh(1, Vec3(0, 0, 0));
  //Mesh* cube1 = new CubeMesh(1, Vec3(0, 0, -10));

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…