Explorar el Código

Update entity.md (#524)

Small typo fix in wiki
Sackhorn hace 5 años
padre
commit
d989f0edf2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/md/entity.md

+ 1 - 1
docs/md/entity.md

@@ -224,7 +224,7 @@ registry.emplace<position>(entity, 0., 0.);
 
 // ...
 
-auto &velocity = registry.emplace<velocity>(entity);
+auto &vel = registry.emplace<velocity>(entity);
 vel.dx = 0.;
 vel.dy = 0.;
 ```