Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1038)

Unified Diff: collada_edge/cross/conditioner.cpp

Issue 3083012: Tidying up. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/o3d/
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « collada_edge/cross/collada_edge.cpp ('k') | converter/cross/renderer_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: collada_edge/cross/conditioner.cpp
===================================================================
--- collada_edge/cross/conditioner.cpp (revision 55159)
+++ collada_edge/cross/conditioner.cpp (working copy)
@@ -27,7 +27,7 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+ */
#include "precompile.h"
#include "conditioner.h"
@@ -70,7 +70,7 @@
}
}
-// less than operator overload, necessary function for edge-triangle map.
+// Less than operator overload, necessary function for edge-triangle map.
bool operator<(const Edge& left, const Edge& right) {
// compare two edges by their actually coordinates.
if (dist(left.pts[0], right.pts[0]) < kEpsilon) {
@@ -92,7 +92,7 @@
}
}
-// go through triangles who share this edge. And check whether
+// Go through triangles who share this edge. And check whether
// the max normal angle is larger than the threshold.
void CheckSharpEdge(const Edge& shared_edge,
const std::vector<Triangle>& triangle_list,
@@ -139,7 +139,7 @@
}
}
-// insert edge-triangle pair to edge triangle map.
+// Insert edge-triangle pair to edge triangle map.
void InsertEdgeTrianglePair(const Edge& edge, const Triangle& triangle,
std::map<Edge, std::vector<Triangle>>* et_map) {
std::map<Edge, std::vector<Triangle>>::iterator iter1 =
@@ -164,7 +164,7 @@
return instance;
}
-// go through all polygons in geom_instance, and add all sharp edges
+// Go through all polygons in geom_instance, and add all sharp edges
// as a new polygon in geom. And also, add material and effect based
// on the given sharpEdgeColor option.
void BuildSharpEdge(FCDocument* doc, FCDGeometryInstance* geom_instance,
@@ -367,4 +367,5 @@
}
FCollada::Release();
return retval;
-}
+}
+
« no previous file with comments | « collada_edge/cross/collada_edge.cpp ('k') | converter/cross/renderer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698