Ignore:
Timestamp:
Nov 19, 2009, 12:21:16 PM (10 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Updated C++ bindings with Canvas::fillTriangleTextured()
Location:
libcaca/trunk/cxx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cxx/caca++.cpp

    r3495 r3955  
    244244}
    245245
     246void Canvas::fillTriangleTextured(int coords[6], Canvas *tex, float uv[6])
     247{
     248    caca_fill_triangle_textured(cv, coords, tex->cv, uv);
     249}
     250
    246251int Canvas::Rand(int min, int max)
    247252{
  • libcaca/trunk/cxx/caca++.h

    r3495 r3955  
    131131    void drawThinTriangle(int, int, int, int, int, int);
    132132    void fillTriangle(int, int, int, int, int, int, uint32_t);
     133    void fillTriangleTextured(int coords[6], Canvas *tex, float uv[6]);
    133134    int setBoundaries(caca_canvas_t *, int, int, unsigned int, unsigned int);
    134135    unsigned int getFrameCount();
Note: See TracChangeset for help on using the changeset viewer.