]> code.bitgloo.com Git - clyne/entityx.git/commitdiff
Fix typo
authordomdom <domdom@users.noreply.github.com>
Tue, 11 Jul 2017 23:39:10 +0000 (09:39 +1000)
committerAlec Thomas <alec@swapoff.org>
Tue, 1 Aug 2017 03:03:51 +0000 (13:03 +1000)
lyout -> layout

CHANGES.md

index 4926ac9a4f034c2c820e24797ed14d744acb159b..1fcb597659daae496bdeaaf1740972e2c50e9e12 100644 (file)
@@ -2,7 +2,7 @@
 
 ## 2014-03-02 - 1.0.0alpha1 - Cache coherence + breaking changes
 
-EntityX has switched to a more cache-friendly memory layout for components. This is achieved by requiring the use of `assign<Component>(arg0, arg1, ...)` and removing `assign(component)`. This allows EntityX to explicitly control the layout of components. The current lyout algorithm reserves space for components in chunks (8192 by default).
+EntityX has switched to a more cache-friendly memory layout for components. This is achieved by requiring the use of `assign<Component>(arg0, arg1, ...)` and removing `assign(component)`. This allows EntityX to explicitly control the layout of components. The current layout algorithm reserves space for components in chunks (8192 by default).
 
 This change also necessitated a move away from the use of `shared_ptr<>` for components, which I had never been that pleased with anyway. Replacing it is a very lightweight `ComponentHandle<C>` smart pointer. This checks for validity of the entity associated with the component, and validity of the component itself. It also allows future iterations of EntityX to do even more interesting things with memory layout if desirable.