aboutsummaryrefslogtreecommitdiff
path: root/ports/opencsg/illegal_char.patch
diff options
context:
space:
mode:
authorHans L <thehans@gmail.com>2019-02-28 01:47:59 -0600
committerPhil Christensen <philc@microsoft.com>2019-02-27 23:47:59 -0800
commit1073c3bf2b36ff8cade24034e137a7e6ce841b33 (patch)
tree5e3dddc3331c200dbf6bb5c6f150d6ce7dc512e9 /ports/opencsg/illegal_char.patch
parent91bb4183e17420f7acae5cf380a5c34eb7dec322 (diff)
downloadvcpkg-1073c3bf2b36ff8cade24034e137a7e6ce841b33.tar.gz
vcpkg-1073c3bf2b36ff8cade24034e137a7e6ce841b33.zip
[opencsg] Add new port (#5481)
* Add opencsg package * Make opencsg static only * Add patch for illegal character, fix line endings
Diffstat (limited to 'ports/opencsg/illegal_char.patch')
-rw-r--r--ports/opencsg/illegal_char.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/opencsg/illegal_char.patch b/ports/opencsg/illegal_char.patch
new file mode 100644
index 000000000..5c700fd19
--- /dev/null
+++ b/ports/opencsg/illegal_char.patch
@@ -0,0 +1,13 @@
+diff --git a/include/opencsg.h b/include/opencsg.h
+index d753a0e..b482c40 100644
+--- a/include/opencsg.h
++++ b/include/opencsg.h
+@@ -156,7 +156,7 @@ namespace OpenCSG {
+ /// The DepthComplexityAlgorithm specifies the strategy for profiting
+ /// from depth complexity when performing the CSG rendering.
+ /// - NoDepthComplexitySampling: Does not employ the depth complexity.
+- /// This essentially makes the algorithm O(n²), but with
++ /// This essentially makes the algorithm O(n²), but with
+ /// low constant costs.
+ /// - DepthComplexitySampling: Calculates the depth complexity k using
+ /// the stencil buffer. This makes algorithm O(n*k), but