]> Pileus Git - grits/commit
Add GritsLine
authorAndy Spencer <andy753421@gmail.com>
Tue, 3 Jan 2012 07:32:34 +0000 (07:32 +0000)
committerAndy Spencer <andy753421@gmail.com>
Tue, 3 Jan 2012 07:32:34 +0000 (07:32 +0000)
commitae0f47ffeff87c31aa126934bcb08b68309c2a5f
treec884ce3865e940ede08187f429c3aceec7e43774
parentab244528448b35dc056427d8fe8d504a82267898
Add GritsLine

GritsLine is similar to GritsPoly, but does not draw a filled polygon.
As such it does not need to do any tessellation.

Currently it draws the points directly instead of using a display list.
This should make it easier to updated the line at runtime without
needing to create a new object.
src/grits.h
src/objects/Makefile.am
src/objects/grits-line.c [new file with mode: 0644]
src/objects/grits-line.h [new file with mode: 0644]
src/plugins/test.c
src/plugins/test.h