- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 Unity Shaders and Effects Cookbook 第四章学习记录
1.花了半个上午大致看了第四章2.主要是讲cubemap的应用。需要制作cubemap图,cubemap用于周围环境物体,比如镜子3.讲了cubemap和法线贴图的结合和与mask贴图的结合效果4.学习了Surface Shader input structure,附加参数以前没有注意到~~~~~input结构中要获取贴图的的贴图坐标,需要在贴图的属性前加上uv, 比如uv_Mai
2015-01-26 12:02:07
255
原创 求两个字符串中的最大连续子窜长度
int compareString(string str1,string str2){ int str1_len = str1.length(); int str2_len = str2.length(); long int LMax=0; long int Len=0; int i,j; int small_len = str1_len for(i
2014-03-13 21:27:35
296
原创 在一个String串中删除另一个String串中出现的字符
#include #include using namespace std;int hashtable[256];string filterString(string s1,string s2){ memset(hashtable,0,sizeof(hashtable));for(int i = 0;i{hashtable[s2[i]] =
2014-03-09 22:17:32
406
原创 c#中openfilename这个winapi
以下为如何在C#中使用openfilename这个winapi #region--申明OPENFILENAME结构体-- [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)] public class OPENFILENAME {
2013-09-17 17:05:22
846
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人