Skip to content

Commit ab96e60

Browse files
committed
chore: add READMEs
1 parent baaa9ad commit ab96e60

File tree

5 files changed

+18
-0
lines changed

5 files changed

+18
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
* GLCanvasElementSimpleTriangle
2+
3+
![GLCanvasElementSimpleTriangle Screenshot](doc/assets/screenshot.png)
4+
5+
This sample draws a rotating 3D cube with interpolated colors using GLCanvasElement. It showcases various fundamental elements of drawing using OpenGL and GLCanvasElement, such as managing the lifetime of GL objects and calculating the perspective matrix.
70.9 KB
Loading
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
* GLCanvasElementSimpleTriangle
2+
3+
![GLCanvasElementSimpleTriangle Screenshot](doc/assets/screenshot.png)
4+
5+
This sample draws a simple triangle with interpolated colors using GLCanvasElement. It serves as a "Hello World" GLCanvasElement sample.
9.5 KB
Loading

UI/GLCanvasElementSamples/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# GLCanvasElement Samples
2+
3+
The samples showcase the usage of `GLCanvasElement`.
4+
5+
6+
* Samples:
7+
* [Simple Triangle](GLCanvasElementSimpleTriangle/README.md): A simple triangle with interpolated colors.
8+
* [Rotating Cube](GLCanvasElementRotatingCube/README.md): A 3D rotating cube.

0 commit comments

Comments
 (0)