Category : Printer + Display Graphics
Archive   : AVRIL11.ZIP
Filename : AV.C

Output of file : AV.C contained in archive : AVRIL11.ZIP
/* Simple demo of AVRIL */

/* Written by Bernie Roehl, April 1994 */

#include "avril.h"
#include /* for getenv() */

static vrl_Vector up = { 0, 0, VRL_UNITY };

void looker(void)
vrl_Object *obj = vrl_TaskGetData();
vrl_Vector camloc, objloc, lookdir;
if (obj == NULL) return;
vrl_ObjectGetLocation(obj, objloc);
vrl_CameraGetLocation(vrl_WorldGetCamera(), camloc);
vrl_VectorSub(lookdir, camloc, objloc);
vrl_ObjectLookAt(obj, lookdir, up);

void main(int argc, char *argv[])
vrl_SystemCommandLine(argc, argv);
vrl_TaskCreate(looker, vrl_WorldFindObject("thing"), 0);

  3 Responses to “Category : Printer + Display Graphics
Archive   : AVRIL11.ZIP
Filename : AV.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: