コード例 #1
0
		public Scene3D ()
		{
			vertex = new Dictionary<int, Vector4>();
			vertexNormals = new Dictionary<int, Vector4>();
			textureCoords = new Dictionary<int, Vector4>();
			materials = new Dictionary<string, MATERIAL>();
			zones = new Dictionary<int, Zone>();
			bounds = new SCENEBOUNDS();
			bounds.minX = float.MaxValue;
			bounds.maxX = float.MinValue;
			bounds.maxZ = float.MinValue;
			bounds.minZ = float.MaxValue;
			_taille = 0;
			cmptObjets = 1;
			_nbrVertex = 0;
		}
コード例 #2
0
 public Scene3D()
 {
     vertex        = new Dictionary <int, Vector4>();
     vertexNormals = new Dictionary <int, Vector4>();
     textureCoords = new Dictionary <int, Vector4>();
     materials     = new Dictionary <string, MATERIAL>();
     zones         = new Dictionary <int, Zone>();
     bounds        = new SCENEBOUNDS();
     bounds.minX   = float.MaxValue;
     bounds.maxX   = float.MinValue;
     bounds.maxZ   = float.MinValue;
     bounds.minZ   = float.MaxValue;
     _taille       = 0;
     cmptObjets    = 1;
     _nbrVertex    = 0;
 }