我正在學習OpenGL(使用OpenTK)。今天我想用VBO來有效地渲染我的四邊形。 當我打電話使其崩潰 =================================================================
Got a SIGSEGV while executing native code. This usually indicates a fatal error
我旋轉這些頂點的平面複合材料, Vector3[] VertexPositionData = new Vector3[]{
new Vector3( 0f, 0f, 1f),
new Vector3( 1f, 0f, 1f),
new Vector3( 1f, 1f, 1f),
new Vector3( 0f, 1f, 1f)
};
上它的y軸與: R
我在場景視圖中生成了2D Hectogon,但是現在我對如何使這種形狀變爲三維感到困惑。用於計算這個數學或方法的任何幫助將不勝感激。我剛剛開始使用C#,我覺得考慮到OpenTk缺乏新的相關內容,因此大多數教程中使用的大多數調用現在已經過時,這是一個很高的要求。 using System;
using System.Collections.Generic;
using System.Linq;