content

no signal stream 107:

  • I'm running out time! 2D Con is in 21 days!
  • While writing the code for resetting the camera, I realized that doing so is not going to be as trivial as I would have liked. The camera is implemented like a state machine, with states that extend RefCounted. Originally, I was just going to store the original state of the camera by duplicating the intial state. However, you cannot duplicate RefCounted instances. Furthermore, changing the states to extend Resource still would not work, because many of the states use another class which extends RefCounted -- and anything that is RefCounted cannot be exported and won't be duplicated when the Resource is duplicated.

docket:

meta

created:

backlinks: no signal logs

commit: 74cb7704