Annotation of researchv9/jtools/src/demo/asteroids/rock.h, revision 1.1

1.1     ! root        1: typedef struct Rock{
        !             2:        Point   x;      /* position */
        !             3:        Point   v;      /* velocity */
        !             4:        int     i;      /* picture index of rock */
        !             5:        int     r;      /* radius of rock */
        !             6:        int     hash;   /* hash of position for fast collision detection */
        !             7: }Rock;
        !             8: Rock *collision();
        !             9: extern Rock rock[];
        !            10: 
        !            11: #undef Pt
        !            12: extern Point Pt();
        !            13: #undef transform
        !            14: extern Point transform();
        !            15: #undef rtransform
        !            16: extern Rectangle rtransform();

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.