PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

16 行
351B

  1. #ifndef FRAME_PARAMS_H__
  2. #define FRAME_PARAMS_H__
  3. struct FrameParams {
  4. uint_fast16_t audioPeak; // range: 0..512
  5. float audioMean; // range: 0..1
  6. float timeMult; // animations are expected to run at 60fps I guess? 1.0==exactly 60fps. 4.0==achieving 15fps, so move 4x faster.
  7. };
  8. struct Point {
  9. uint_fast16_t x;
  10. uint_fast16_t y;
  11. };
  12. #endif