// Copyright (C) 1996 Keith Whitwell. // This file may only be copied under the terms of the GNU Library General // Public License - see the file COPYING in the lib3d distribution. #include #include float D; // kludge void Pipeline::stitchModel( Model& model ) { nrPolygons = model.nrPolygons; nrVertices = model.nrVertices; nrVertexNormals = model.nrVertexNormals; nrPolygonNormals = model.nrPolygonNormals; nrMaterials = model.nrMaterials; polygons = model.polygons; vertices = model.vertices; vertexNormals = model.vertexNormals; polygonNormals = model.polygonNormals; materials = model.materials; objectToDevice = &model.objectToDevice; objectViewPos = &model.objectViewPos; objectToCvv_T = &model.objectToCvv_T; objectToCvv = &model.objectToCvv; cvvToDevice = &model.cvvToDevice; texture = model.texture; D = model.D; ::D = model.D; // yuck-o! }