自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(2)
  • 资源 (4)
  • 收藏
  • 关注

原创 判断点是否在多边形内

很常用的算法。此算法网上太多,大部分是抄来抄去的,光有代码,没什么解释;或者一堆解释,很深奥,不宜懂。 综上,正好项目中有一个需求,便花了点时间搞定了,趁着现在有时间,总结一下。 好了,有上面2张图就足够了。求点是否在多边形内的算法,可以转换成,从当前点P(x',y')发射X轴方向射线(y轴始终相等)与多边形的交点的个数,认真分析会找到与多边形交点个数为奇数就在多边形内,为偶数就在多边形外。我们通过遍历多边形中的i和(i+1)...

2021-04-01 20:07:03 322

原创 (2110,5): warning MSB3245: 未能解析此引用。未能找到程序集“Windows”。请检查磁盘上是否存在该程序集。 如果您的代码需要此引用,则可能出现编译错误。

最近打UE4的包的时候,总是失败。没办法只能各种搜索找答案解决,用了度娘、sougou、bing都没有找到理想的答案,最后没办法翻墙用google找答案,还好最后完美解决了。下面是编译VS的error提示: 1>------ 已启动生成: 项目: HoloLens.Automation, 配置: Development Any CPU ------1>C:\Program Files (x86)\Microsoft Visual Studio\201...

2021-01-07 09:34:36 5524 2

NGUI Next-Gen UI v3.7.8.unitypackage

- NEW: Added a validator delegate to the toggle class for when you want to add custom code to prevent state changes before they happen. - FIX: Some more compile fixes for newer Unity 5 versions. - FIX: Sliced sprite corners will no longer be drawn if sides were chosen to be hidden. - FIX: UIPanel no longer makes all of the game objects underneath it be on the same layer. Just widgets. - FIX: Minor fix for the scroll view recentering. - FIX: Flash compilation #ifdef. - FIX: FreeType fix for Unity 5 (64 bit).

2015-01-12

数学参考资料

涵盖了方方面面的数学知识。 代数、三角公式与初等函数 初等几何图形的计算与作图 代数方程 矩阵、行列式、线性方程组等等

2014-07-02

NGUI 3.6.6

3.6.6 - NEW: UIWrapContent now has a settable delegate to initialize items, and will call it on Start(). - NEW: Added OnDragStarted to the scroll view for those that needed it. - NEW: Added the missing OnDragOver/OnDragOut to the UIEventListener. - FIX: Hiding game view behind the scene view should now work as expected (thanks NikolayLezhnev). - FIX: Localization was not always handling double quotes properly. - FIX: Mobile keyboard-related fix (thanks niniane). - FIX: 2D raycasts were not working quite right... - FIX: Underline and strike-out should now look better and will be affected by the gradient. - DEL: Commented out NGUITools.OpenURL since it causes network permissions to be used on mobile. Uncomment them if you need them. - DEL: Cleaned up pre-Unity 4.3 code.

2014-07-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除