~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina4/src/draw/paint/tv_strings.c

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**@(#)
  2 **/
  3 #include <tina/sys.h>
  4 #include <tina/math.h>
  5 #include <tina/vision.h>
  6 #include <tina/tv.h>
  7 #include <tina/tvfuncs.h>
  8 #include <tina/draw.h>
  9 #include <tina/drawfuncs.h>
 10 
 11 void    draw_string_vec3(Tv * tv, Tstring * str)
 12 {
 13     List *ptr;
 14 
 15     if (str == NULL)
 16         return;
 17 
 18     for (ptr = str->start; ptr != str->end; ptr = ptr->next)
 19         tv_line3(tv, *(Vec3 *) ptr->to, *(Vec3 *) ptr->next->to);
 20 }
 21 
 22 void    draw_string_vec2(Tv * tv, Tstring * str)
 23 {
 24     List *ptr;
 25 
 26     if (str == NULL)
 27         return;
 28 
 29     for (ptr = str->start; ptr != str->end; ptr = ptr->next)
 30         tv_line2(tv, *(Vec2 *) ptr->to, *(Vec2 *) ptr->next->to);
 31 }
 32 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.