implement binary tree using array (openGL)

This is a discussion on implement binary tree using array (openGL) within the C Programming forums, part of the General Programming Boards category; hai.. i have some problem. i'm trying to make a collision detection using AABB and i've trying to implement binary ...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    2

    implement binary tree using array (openGL)

    hai.. i have some problem. i'm trying to make a collision detection using AABB and i've trying to implement binary tree into it. my problem is, to store the divided box into each node of the tree. i've been stuck here about 3 weeks now.. any good idea or any sample are welcome.. please..
    thanks

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Here is a fine example of how to use a search engine. Perhaps you should try it?

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    2
    i've already search all website for it.. but i can't find one that was suitable for what i need. maybe i'm to dumb in programming.. arhghhhh .. please anybody help.. i'm trying to make the tree works. and i think maybe my comparision that make the tree wrong... any idea.. please..

  4. #4
    Registered User
    Join Date
    Nov 2001
    Posts
    23
    this is my 2 cents worth...

    correct me if I'm wrong, but I always thought that binary trees are used with structs . of course, binary trees are similar to link list.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. arrays vs lists? And containers in general!
    By clegs in forum C++ Programming
    Replies: 22
    Last Post: 12-03-2007, 01:02 PM
  2. Struct *** initialization
    By Saravanan in forum C Programming
    Replies: 20
    Last Post: 10-09-2003, 12:04 PM
  3. How to empty a Binary Serach Tree???
    By ripper079 in forum C++ Programming
    Replies: 6
    Last Post: 01-29-2003, 08:28 AM
  4. binary tree node structure
    By Kirsten in forum C Programming
    Replies: 2
    Last Post: 04-26-2002, 08:02 PM
  5. Hi, could someone help me with arrays?
    By goodn in forum C Programming
    Replies: 20
    Last Post: 10-18-2001, 09:48 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21