![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
每日小程序
Fatestay_DC
这个作者很懒,什么都没留下…
展开
-
固定管线shader以及unity旋转四元数
Shader "Custom/fg" { Properties { _Color("Main Color", Color) = (1,1,1,1) _Ambient("Ambient",Color) = (1,1,1,1) _Specular("Specular",Color) = (1,1,1,1) _emmision("Emi原创 2015-12-10 23:24:20 · 884 阅读 · 0 评论 -
BeautifulSoup使用
#python2.7 #BeautifulSoup4.0 import urllib import urllib2 from urllib import urlopen from BeautifulSoup import BeautifulSoup from urllib2 import HTTPErrordef getTitle(url): try: html = urlo原创 2015-12-30 09:42:03 · 450 阅读 · 0 评论 -
工厂方法
class Product { public: virtual void Show()=0; };class ProductA:public Product { public: void Show() { cout<<"SHowA"<<endl; } };class ProductB:public Product { public: void原创 2015-12-21 08:30:54 · 478 阅读 · 0 评论 -
备忘录模式
// ConsoleApplication19.cpp : Defines the entry point for the console application. //#include "stdafx.h"//C++后面使用的类要先声明?/*负责存储GameRole对象的内部状态,并可防止GameRole以外的其他对象访问备忘录Memento。 备忘录有两个接口,Caretaker只能看见备忘录的原创 2015-12-21 13:05:07 · 486 阅读 · 0 评论