a5kin / xentica

GPU-accelerated engine for multi-dimensional cellular automata

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Float properties

a5kin opened this issue · comments

In order to experiment with cellular fields, we need to add support for floating point properties.

  • Add FloatProperty class
  • Implement float -> int packing
  • Implement int -> float unpacking
  • Provide automatic type casting in mixed float/int expressions (optional)
  • Cover new functionality by unit tests
  • Write an example using float property