Samples TBGL Rotating cube

Rotating cube

Create a simple rotating 3D cube.

Intermediate TBGL Uses: TBGL

Overview

This sample will show a classic rotating cube scene using TBGL, useful as a first 3D graphics example.

What you’ll learn

  • How to structure a 3D render loop
  • How to apply rotation
  • How to use TBGL for simple 3D scenes

Code

Uses "TBGL"

' Rotating cube sample
PrintL "TBGL rotating cube coming soon"

WaitKey
Try it yourself

This placeholder will be replaced by a real rotating cube sample.