Ticket #30: fix.patch
| File fix.patch, 2.2 KB (added by ronsaldo, 2 years ago) |
|---|
-
Libs/SceneGraph/BezierPatchNode.hpp
121 121 void operator = (const BezierPatchNodeT&); ///< Use of the Assignment Operator is not allowed. 122 122 123 123 // This is the basic definition of a patch, read from and written to disk. 124 u nsigned longSizeX; ///< Nr of columns.125 u nsigned longSizeY; ///< Nr of rows.124 uint32_t SizeX; ///< Nr of columns. 125 uint32_t SizeY; ///< Nr of rows. 126 126 ArrayT<Vector3fT> ControlPointsXYZ; ///< The xyz spatial coordinates of the control points (SizeX*SizeY many). 127 127 ArrayT<Vector3fT> ControlPointsUV; ///< The uv texture coordinates of the control points (SizeX*SizeY many). 128 128 129 int SubdivsHorz; ///< Number of subdivisions in horizontal direction, or auto-detection if -1.130 int SubdivsVert; ///< Number of subdivisions in vertical direction, or auto-detection if -1.129 int32_t SubdivsHorz; ///< Number of subdivisions in horizontal direction, or auto-detection if -1. 130 int32_t SubdivsVert; ///< Number of subdivisions in vertical direction, or auto-detection if -1. 131 131 float MaxError; ///< Maximal error distance when subdividing bezier patches. Applies only if SubdivsHorz and SubdivsVert are -1. 132 132 133 133 MaterialT* Material; ///< The material assigned to this patch. -
Libs/SceneGraph/Node.hpp
24 24 #ifndef _CF_SCENEGRAPH_NODE_INTERFACE_HPP_ 25 25 #define _CF_SCENEGRAPH_NODE_INTERFACE_HPP_ 26 26 27 #ifdef _WIN32 28 #include "pstdint.h" // Paul Hsieh's portable implementation of the stdint.h header. 29 #else 30 #include <stdint.h> 31 #endif 32 27 33 #include "Math3D/BoundingBox.hpp" 28 34 #include "Math3D/Vector3.hpp" 29 35 #include "PatchMesh.hpp"
