X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Futil.qh;fp=qcsrc%2Fcommon%2Futil.qh;h=0239c18af638f519de47a539a3e6a87192aae463;hb=0ee74987765518ffed584a790f90607c3f3f8e71;hp=a9f9095c7a40492e6615258364cc0ca059c08620;hpb=ad8f3ce1398d7fa2204c0282b1d0f84838ca0e92;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/util.qh b/qcsrc/common/util.qh index a9f9095c7..0239c18af 100644 --- a/qcsrc/common/util.qh +++ b/qcsrc/common/util.qh @@ -364,6 +364,10 @@ typedef entity(entity cur, entity near, entity pass) findNextEntityNearFunction_ typedef float(entity a, entity b, entity pass) isConnectedFunction_t; void FindConnectedComponent(entity e, .entity fld, findNextEntityNearFunction_t nxt, isConnectedFunction_t iscon, entity pass); +#ifdef SVQC +vector get_corner_position(entity box, float corner); +#endif + // expand multiple arguments into one argument by stripping parenthesis #define XPD(...) __VA_ARGS__