上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 29 下一页
摘要: #include<iostream>#include<cstdio>#include<algorithm>using namespace std; int main(){ string str; cin>>str; sort(str.begin(), str.end()); do { cout<<s 阅读全文
posted @ 2019-03-15 23:54 mc宇少 阅读(106) 评论(0) 推荐(0) 编辑
摘要: n&1==0:偶数 n&1!=0:奇数 阅读全文
posted @ 2019-03-15 08:24 mc宇少 阅读(177) 评论(0) 推荐(0) 编辑
摘要: #include<cstring>#include<iostream>#include<stack>#include <algorithm>using namespace std; int dp[100][100];char D[100][100];stack<char> st;string s1, 阅读全文
posted @ 2019-03-11 22:32 mc宇少 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Realtime GI,实时全局光照, 1.构成 : 可实时更新的lightmap + 可实时更新的光照探头(light probe)+ 可实时更新的cubemap(Reflection probe)实时全局光只实时计算物体之间的bounce light(物体之间来回反射的光)实时全局光的实现:静态 阅读全文
posted @ 2019-02-15 22:31 mc宇少 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 多重继承的缺点是容易出现继承向上的二义性。 一个类有两个以上的父类,父类中有相同的方法或对象,子类调用时容易混淆 阅读全文
posted @ 2018-12-10 16:53 mc宇少 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 将Json文件的内容在网上在线的Json文件编辑器导出后再导入即可 阅读全文
posted @ 2018-12-02 21:48 mc宇少 阅读(496) 评论(0) 推荐(0) 编辑
摘要: class Solution {public: //利用3个队列,分别保存乘以2、3、5的新数,每次只需判断每个 //队列最前面的数哪个最小,然后取出并把这个数乘上对应的因子压入 //三个队列中(这里要去重,具体看代码) int GetUglyNumber_Solution(int index) { 阅读全文
posted @ 2018-11-19 23:19 mc宇少 阅读(140) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/yi_afly/article/details/52012593 阅读全文
posted @ 2018-11-11 23:14 mc宇少 阅读(74) 评论(0) 推荐(0) 编辑
摘要: public static bool IsCursorOnUI(int inputID=-1){ EventSystem eventSystem = EventSystem.current; return ( eventSystem.IsPointerOverGameObject( inputID 阅读全文
posted @ 2018-11-10 20:58 mc宇少 阅读(1049) 评论(0) 推荐(0) 编辑
摘要: 在之前的程序编写过程中,虽然对相关的方法进行了实例化,但是在运行的时候总是会出现“未将对象引用设置到对象的实例”,出现该种问题的原因是由于在实例化后,没有对实例化进行引用赋值,所以导致相关变量无法在其他方法中进行读取,以后需对此谨记。 同时之前浏览过一片大神写过的关于unity相关技巧的文章,笔者觉 阅读全文
posted @ 2018-10-22 12:19 mc宇少 阅读(367) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 29 下一页