X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=common.h;h=d0f4c078529f1b19baedaaaeb5580556ddedf97a;hb=d00b1df8f80e4714dc2f9aa2189d242bb4d09a2f;hp=51eb1fa1df00dcc1931a6e2fcebd27aec2089af9;hpb=e36cb7e44611855d39ba84710a7007ca659e9cd5;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/common.h b/common.h index 51eb1fa..d0f4c07 100644 --- a/common.h +++ b/common.h @@ -1,3 +1,7 @@ +/* + * Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved + */ + #ifndef COMMON_H #define COMMON_H @@ -7,10 +11,14 @@ static float ktimestep = 1.0f/60.0f; -enum classtype +typedef struct ray_hit ray_hit; +struct ray_hit { - k_classtype_none = 0, - k_classtype_gate = 1 + float dist; + u32 *tri; + v3f pos, normal; }; +static int network_scores_updated = 0; + #endif /* COMMON_H */