Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here

aoi

Area of Interest Library

Subscribe to updates I use aoi


Statistics on aoi

Number of watchers on Github 174
Number of open issues 0
Main language C
Open pull requests 0+
Closed pull requests 0+
Last commit about 8 years ago
Repo Created over 8 years ago
Repo Last Updated over 2 years ago
Size 128 KB
Organization / Authorcloudwu
Contributors1
Page Updated
Do you use aoi? Leave a review!
View aoi activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating aoi for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Area of Interest


/* 
 * update an aoi object.
 * "w" : watcher
 * "m" : marker
 * "wm" : watcher and marker
 * "d" : drop an object
 */
void aoi_update(struct aoi_space * space , uint32_t id, const char * mode , float pos[3]);

/*
 * define a callback function first, and call aoi_message in your timer or main loop.
 */
void aoi_message(struct aoi_space *space, aoi_Callback cb, void *ud);

/*
 * You can define your own allocator for each independent space.
 * typedef void * (*aoi_Alloc)(void *ud, void * ptr, size_t sz);
 */
struct aoi_space * aoi_create(aoi_Alloc alloc, void *ud);
void aoi_release(struct aoi_space *);

/*
 * You can use the default allocator
 */
struct aoi_space * aoi_new();

See test.c for example.

See http://blog.codingnow.com/2012/03/dev_note_13.html for algorithm (In chinese) .

aoi list of languages used
Other projects in C