drawshield / drawshield/Drawshield-Code

Turn treatments to match bend on flags

未关闭
#278 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Medium No Fix Likely
主要语言
PHP
星标
60
派生
21
PR 合并指标
30 天内没有已合并 PR

描述

On a shield the bend is always 45 so we turn (some) treatments to match.

O a flag bends are at an abitrary angle depending on the proportions. We should calculate the appropriate angle and turn the same set of treatments accordingly.

![shield(1)](https://user-images.githubusercontent.com/3171760/138360722-33f0a07b-e080-4527-90ca-8f1ad22cbca0.png)

(For the same reason we don't currently support charges "on a bend" in flags as we don't have the angle)

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先跟踪盾牌现有的处理旋转逻辑,以及确定旗帜弯曲几何形状的代码。根据旗帜的比例计算其弯曲角度,并应用相同的处理旋转行为;完成标准是处理结果与旗帜的弯曲相匹配,同时盾牌行为保持不变。

由索引模型根据 Issue 内容生成。

评估

技术栈
php
领域
computer-graphics
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。