michalbe / cervus

:video_game: tiny WebGL 3d game engine
MIT License
28 stars 4 forks source link

Implement a component system #56

Closed stasm closed 7 years ago

stasm commented 7 years ago

Features like moving, mouse look, rendering, or get_view_matrix should be abstracted and promoted to separate components which can be enabled/disabled and added/removed to Entities on runtime.

stasm commented 7 years ago

This is a dupe of #3.