Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(530)

Unified Diff: liboslexec/bsdf_cloth.cpp

Issue 193074: Fix errors and warnings from g++-4.4.1 Base URL: http://openshadinglanguage.googlecode.com/svn/trunk/
Patch Set: Created 14 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « liboslcomp/symtab.h ('k') | liboslexec/dual.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: liboslexec/bsdf_cloth.cpp
===================================================================
--- liboslexec/bsdf_cloth.cpp (revision 542)
+++ liboslexec/bsdf_cloth.cpp (working copy)
@@ -68,7 +68,7 @@
SHORTWEFT
};
-typedef struct threadSegment
+struct threadSegment
{
float angle;
float eccentricity;
@@ -540,7 +540,7 @@
Color3 DE_f (0, 0, 0); // diffuse result * col, filtered aggregate
float btf = 0, brdf_spec;
- Point2 BTF_center, BTF_semimajor;
+ Point2 BTF_center(0,0), BTF_semimajor(0,0);
// stuff for brdf_spec derived from btf "thread segment" highlight ellipse area here...
//
« no previous file with comments | « liboslcomp/symtab.h ('k') | liboslexec/dual.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b