- Add changeBarColor
    - Add changePlane (all in multi)
This commit is contained in:
hubourge
2024-09-10 18:34:02 +02:00
parent ea7c77d5ae
commit 853f314992
3 changed files with 36 additions and 11 deletions

View File

@ -6,7 +6,7 @@
/* By: hubourge <hubourge@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/18 00:53:53 by edbernar #+# #+# */
/* Updated: 2024/09/10 17:16:22 by hubourge ### ########.fr */
/* Updated: 2024/09/10 18:32:10 by hubourge ### ########.fr */
/* */
/* ************************************************************************** */
@ -174,6 +174,11 @@ function createBarPlayer(color)
return (mesh);
}
function changeBarColor(bar, color)
{
bar.material.color.set(color);
}
function loop()
{
stats.begin();