I write this demo just to go though some key concepts of computer graphics. The following features are implemented in this demo: 1) transform mesh from local space to world space, then to the camera space; 2) Do projection to convert 3d
Use the official source list as the local source list, please make sure you are using the correct source list as you OS should have. Open the source listsudo gedit /etc/apt/sources.listFill the correct source listYou could find the official list
中國由於盜版問題,軟體產業發展受到很大影響,經常看到很多同行們對共用軟體能否賺到錢感到困惑,雖然大家都知道的周易前輩的MP3 CD Maker創下了月入四萬的記錄,但這對我們大多數人來說,只是一個很遙遠的夢,就好象是水中的月亮,可望不可及。這個也曾經是我投入這個行業是的目標,雖然到目前我的收入才達到他的四分之一,但我已心滿意足了,回顧兩年多的編程生活,總結了一些經驗,希望和大家分享,最重要的一點,我將它做為這篇文章的題目吧,那就是:我一直在努力。 困惑
debian和ubuntu不同、狠多軟體都沒有預置安裝、比如vim啦、比如gcc啦、比如bzip2啦、比如sudo啦、都是頂煩的、600多M的光碟片到時裡面都裝著啥來著、或者說光碟片有安裝時並沒有預置安裝進去、使用apt-get安裝某些軟體時、會彈出叫邇插入光碟片的提示、都什麼年代來還插插插的、直接連網吧、修改一下soure的檔案夾 vim /etc/apt/sources.list開啟後會看到這個# deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ -
眾所周知,設計原則是設計模式的基石。當遵循設計原則的時候,寫出的代碼就會變得非常靈活,並且可以應對變化,也更加容易維護。當然,也不是那麼絕對。下面首先會簡要介紹一些基本的設計原則,然後再介紹Robert C. Martin的S.O.L.I.D原則。1 設計原則簡述KISS原則(Keep It Simple Stupid)軟體開發中常常遇到的問題就是:把一個問題過度的複雜化。KISS原則的目的就是提倡在設計和編碼中,盡量保持代碼的簡約,避免不必要的複雜。簡約不等於簡單。DRY原則(Don’t
If you have missed part one of this tutorial, you can find it here. You will need to have completed the first part of the tutorial in order to complete this one. In this part you will create the data contracts for this service, the business entities,