From 36eb5a000eb7e10267231413cad7030e1d64f0ff Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 5 Apr 2024 22:16:01 +0200 Subject: [PATCH] add selectagon around target --- assets/models/selectagon.glb | Bin 0 -> 4064 bytes src/camera.rs | 2 +- src/hud.rs | 46 ++++++++++++++++++++++++++++++++--- src/world.rs | 1 + 4 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 assets/models/selectagon.glb diff --git a/assets/models/selectagon.glb b/assets/models/selectagon.glb new file mode 100644 index 0000000000000000000000000000000000000000..4990ff607a2ed7d814b0f24a94d215fba9a4dffd GIT binary patch literal 4064 zcmb7G-;Wbj6h5q=APOQXqJZ`4io#Ito$1VUDr{XAkQLaP{XsOF&8F?ncAK=F&CC=b zn@xBzF)`7;JXhd`Ue=_Bs`etId^8-+ikaWA)IsO&Ue0h&Ua2H zRBH3r#{l5ZqX2&$0Qh3AFtfpmLEwfgx4|lI!}W`y=d&EUx#oKfFGy7|C3U6dHdb6e zHGQ#=x|>Ohw52nR-F5w->NOCor#aiyn0qgD8*~&b1nvsUEwY<8W|!;5(DkduTCnWa zt3gn`>n;bO?=~vo8e7s>P{vzXj>l1eX&bCjtm7G*lkYUv@K#)U!8Nh8i8;yh2CKWl znoN!}<~_d|q&XK@pYMgmP!_nz(>AvSx3YTH$~vZP>KdoNeaB0i+U}&(bPuVOHMr0% zD`SW(&t`1x0#A$R%*hCyXYkVQnav%p3lo#@;waVD4M*2)-7#ff9jT-UD_*lybLXln zq-E$gT~s($@OrT<$FwMrN;pDf@m6GUOv`pOjuLfeL6d#n91xOF&n2_TWw}UmJtK^) zquUwNu{UwXvCg;Sp`s$|CI7Y?7HhR?dDd%I)*5brv)W*#V&G1BHP7!9%hO2N!${Se zhR9f%3=TyIhYKtpr>x;*BhDn7Z_?yx-f|T>JEBf}-LKZGA#PZ-Ma3}mtEFa0j~ndE z!rb)ybYVuW%S>VR_T(*=6B?Vp_SICOFne{Gvz(3{RvRnTGNl-JUD9TbZ^{W3%lInr z{OE#Gb9L4A?^NAyBx%{JuX_!*5zgOV$MrRFH8fWCnhpGQ**dY^!@-KQ?ig9iG<1Vo zmMugERlvn?a6cT&G7Mqs+%Pqf#tkwllt&h~ssAee-WD$m;K0=zK!V5tETOEA-MKbp z;O`bkrSyS{Jg<*o>DcDz>3ZMosCj?7Jd`R5p4C`<{oK^#t;tzNThXmwor|1F>3- zI@pSuZgh2sHBcJYagA_)Q@O6!rV2cG@Cy@&XTf*%?yn&d}`6;1Mch)I(KKQvZ$CO=B7>`Z2Y;AQ;#M5Dm2--d^FDlid#R28U4vf$@=Dy^jYq-s;E7`b z7V=+@9g%z(w<+GGwie-|KM(TclUx`>~SYP;f(ncd@I(CG@)4L4&ax) zAg8R4^ojAL;h_2@{{Xz?S8{1ygK9|5lU_RaDx9QelAGXVJqm{AlH?|M;!N<8Kh}hL zO!TMv)gD#+grZMd%^h$T)iVe$`3K--Z7OFRC-qG1*z*oPs_8*bJ*ZCyk9Wy;I6LWg z;8lLfxdWfy+S;N%cJ&b- zSdjd~Jn_?e;*WgqGx10H{T@>uNBTTS^x5%D8b}=;cRk%C&!mra!93Yx?1@kIGZE{v zt0yk(U+!Aud!M^J37_h>V&2_-#4mRM^;bRJLwUqE*zbcQ@H*_ne+S@2I1VS!o`9F( z5WEFP(H?~t;1zfqPNO{y$KW+M1u3*Ccmv*q_u(Yklkh6M1LJTW?Rj_)&cMf@q1AxF z2XGP2qCE@m!iS)Pjn;;9@CjIuLz{yOkcLmeKx@E9z~K^1qMZa2GVmE(MSB&p;J`Jw jjP^1J{00N;N4p=cz!ba$htVE}&*3^8gfX;Zkca;P2^(>G literal 0 HcmV?d00001 diff --git a/src/camera.rs b/src/camera.rs index d4efda2..a5ae187 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -141,7 +141,7 @@ fn manage_player_actor( } #[allow(clippy::too_many_arguments)] -fn apply_input_to_player( +pub fn apply_input_to_player( time: Res