自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 249

原创 求两个字符串中的最大连续子窜长度

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 292

原创 在一个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 388

原创 c#中openfilename这个winapi

以下为如何在C#中使用openfilename这个winapi             #region--申明OPENFILENAME结构体--         [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]         public class OPENFILENAME         {

2013-09-17 17:05:22 825

使用Qt做出的贪吃蛇游戏

使用Qt,做了一个简单的贪吃蛇小游戏,适合Qt的入门学习

2013-08-27

空空如也

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

TA关注的人

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