Thread: What does 'indices' mean?

  1. #1
    Shadow12345
    Guest

    What does 'indices' mean?

    indices = (plural)index;//?

    What does this mean exactly?
    The following structure holds both the indices for the triangle's three vertices (meshIndex) and the indices for the three texture coordinates needed to texture a triangle (stIndex)
    typedef struct {
    unsigned short meshIndex[3];
    unsigned short stIndex[3];
    } mesh_t;

  2. #2
    Registered User
    Join Date
    Nov 2002
    Posts
    42
    Both indices here probably mean the x-coordinate and the y-coordinate of the vertices of the triangle.
    Indices are how we refer to different elements in an array.
    First hear, then understand, and then, leaving all distractions, shut your mind to outside influences and devote yourself to developing the truth within you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Best way to have an list of indices which changes order
    By laertius in forum C Programming
    Replies: 5
    Last Post: 09-29-2008, 12:45 AM
  2. Vertices and Indices
    By beene in forum Game Programming
    Replies: 15
    Last Post: 05-07-2007, 03:08 AM
  3. Arrays with very large Indices
    By DannyB in forum C++ Programming
    Replies: 3
    Last Post: 02-17-2006, 10:06 AM
  4. enum constants as array indices
    By hzmonte in forum C Programming
    Replies: 2
    Last Post: 01-23-2006, 08:23 PM
  5. indices with trig frunctions
    By Christine21 in forum Windows Programming
    Replies: 0
    Last Post: 04-17-2005, 08:40 AM