作者liquidcrysta (crystal)
看板C_and_CPP
標題[問題] 關於OpenGL
時間Sun Sep 11 16:28:28 2011
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
Linux
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
OpenGL
問題(Question):
請問各位大大,
我下載了一份source code 要compile,
裡面的depnedncy, 除了STL的.h檔外
還有GL/glut.h和vecmath.h
前者應該是OpenGL和glut底下的.h file(我裝freeglut)
後者的vecmath.h我就真的無法知道是哪一個library內的.h file
從source code中發現裡面有Vector3f這個class 應該是屬於 vecmath.h內的class.
請問有人知道這個library嗎?是在OpenGL內嗎?(還蠻多用OpenGL的project用到vecmath.h)
還是這不是一個open source的library.
謝謝!!
餵入的資料(Input):
預期的正確結果(Expected Output):
錯誤結果(Wrong Output):
程式碼(Code):(請善用置底文網頁, 記得排版)
補充說明(Supplement):
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 18.111.126.50
→ VictorTom:你的title下的不太好, 不如直接問vecmath.h是否為GL的 09/11 20:25
→ VictorTom:lib或者哪裡可以取得; 最好也能附上取得的位址....@_@" 09/11 20:26
→ VictorTom:就小弟所知, 那應該不是屬於OpenGL的東西, google到 09/11 20:27
→ VictorTom:看起來疑似你描述的東西....?_? 09/11 20:27
→ VictorTom:Er~~我錯了, 有不少vecmath.h, 又多是不太相同的東西Orz 09/11 20:29
推 Bencrie:OpenGL是純 C API,所以不會有 class 那種東西 XD 09/11 21:09
→ chiwa:有Vector3f這個class的library多到不行,很general的東西 09/12 00:59
→ liquidcrysta:嗯嗯 謝謝大家的幫忙!!可能自己implement比較快! 09/12 12:47