Game Development Community

Llist examples?

by Demolishun · in Torque Game Engine · 01/23/2007 (9:14 pm) · 0 replies

I am creating a widget that will need to handle possibly hundreds of light weight objects and was looking as using llist from core/llist.h. This appears to be a linked list template that seems to be rarely if ever used. Does anyone have experience with this code? So far I have done this:
typedef struct tnode{
   Point3F pos;
   ColorI  col;
};

typedef LList<tnode> tcnode;

Is this the correct way to instantiate this?

Thanks,
Frank

About the author

I love programming, I love programming things that go click, whirr, boom. For organized T3D Links visit: http://demolishun.com/?page_id=67