123456789101112131415161718192021222324 |
- //
- // FillResult.hpp
- // auto_fill_jewel_v3
- //
- // Created by Red on 2024/11/26.
- // 定义填充结果信息
- #ifndef FillResult_hpp
- #define FillResult_hpp
- #include <stdio.h>
- struct FillResult {
- float _x,_y ;// 宝石位置相对盘子左下角(原点)的坐标,盘子内部坐标,注意盘子有效填充区域和盘子精灵尺寸的区别。
- // 这里盘子的坐标原点指的是盘子精灵图片尺寸的左下角坐标。
- float _rotdeg ;//旋转角度,单位角度
- int _jewelTypeId ;//宝石类型ID
- float _width; //宝石外接宽度
- float _height;//宝石外接高度
-
- } ;
- #endif /* FillResult_hpp */
|