MoneyTracers / miniRT

0 stars 0 forks source link

use compiler vector attribute #5

Open sairutra opened 2 weeks ago

sairutra commented 2 weeks ago

https://github.com/rvan-mee/miniRT/blob/master/include/minirt.h

This can be used to help with speed + reduce vector functions

typedef float t_fvec \ attribute ((vector_size (4 * sizeof(float))));