From 0373255087377122eeb10e006ffb8aa1b57e611c Mon Sep 17 00:00:00 2001 From: rgl Date: Mon, 3 Feb 2020 22:42:28 +0100 Subject: after a year or so of work, i dare create a proper repo. --- libobj/examples/square.obj | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 libobj/examples/square.obj (limited to 'libobj/examples/square.obj') diff --git a/libobj/examples/square.obj b/libobj/examples/square.obj new file mode 100644 index 0000000..d44fd6d --- /dev/null +++ b/libobj/examples/square.obj @@ -0,0 +1,9 @@ +# This example shows a square that measures two units on each side and +# faces in the positive direction (toward the camera). Note that the +# ordering of the vertices is counterclockwise. This ordering +# determines that the square is facing forward. +v 0.000000 2.000000 0.000000 +v 0.000000 0.000000 0.000000 +v 2.000000 0.000000 0.000000 +v 2.000000 2.000000 0.000000 +f 1 2 3 4 -- cgit v1.2.3