INNER CODE UNIT · C++

cube4

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

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));
   // CubeMesh* cube = new CubeMesh(1, Vec3());
   // cube->position += Direction::forward;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…