misc/libopenalbridge/tester.c
author nemo
Thu, 01 Jul 2010 23:41:10 -0400
changeset 3608 c509bbc779e7
parent 3529 0e968ba12a84
child 3697 d5b30d6373fc
permissions -rw-r--r--
Revert prior attempted optimisation. Gridding the land pays in some situations, but not all. Restricting to an upper bound might help, but overall, seems too fuzzy to be worth it. On one side is increased cost of Add/Delete + extra test on collision check, on the other is skipping the list iteration. Perhaps for large lists.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3529
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     1
#include <stdio.h>
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     2
#include "openalbridge.h"
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     3
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     4
int main (int argc, int **argv) {
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     5
    
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     6
    openal_init();
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     7
    
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     8
    openal_close();
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     9
    
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
    10
    return 0;
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
    11
}