WOW
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -----BEGIN PGP MESSAGE----- | |
| Version: Keybase OpenPGP v2.0.1 | |
| Comment: https://keybase.io/crypto | |
| wcBMA6OEW9yuuOe9AQgApOYCodBBnj7WN3VHKWhFT7XDiaowNohwpVrB3L9I7Yl8 | |
| dw+DIgjxiv45NQth2/zkLu9fmXvKEoBNrQLoDjCsHwcdi/xRN/8355Me7+qXeoUQ | |
| f32s2/5sZoH63DTgubs4zHzCAWXG7Cl4t3ShmCHm6Eb7Iu0XAs0r/rg17GxbQo3m | |
| ss5EH9ZVCHgUeENvOn66x7JwdTdQvhJkioY2KKC380CMeBCGatPcta903lEeSDKH | |
| ekAmabz5mf/Mddp2CaFFOpcgOJcEnuz/aimQLQjdYymEv5AwrgInqntXNlX4iwlz | |
| NZC/VOZDhWWuwIBMDJQJ9RYb2vKcyKuwDogol0a6QcHBTANliYjSjyh8AQEP/0kz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -----BEGIN PGP MESSAGE----- | |
| Version: Keybase OpenPGP v2.0.1 | |
| Comment: https://keybase.io/crypto | |
| wcBMA9KUjzSr7w0TAQf/XjDQWyXrl1aOu1l56zisUEzIYOZx1xSGXcpoZ/Dcby7z | |
| AGuPHB3oCvlOdA0aS54hfiMoXq9JJt0eDkSzoF1ygG/TWlHqWmKrO9RWJW5hN+ml | |
| nwMP6jhRo456C6WSvUNdnRnYJ+h4ZYNon9b0KxlZOWt2cCIiTqF8hbbbtL525OIm | |
| Gelqz+vMuNd9DX1734FKj4k9+x5nHimaEVOM+3LCfTWcCe1WND3qzk7jz9+IdkEi | |
| hZgQH3E70T3EE9Nc8ufCUOyYau4l62VYy9UxshiJpeA2Ql5GICqkd+o2JVehbDK0 | |
| KnvZ93j79d7XD7fdoCopPARQ466ixJqfyTy0GKKLisHBTANliYjSjyh8AQEQAMUF |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Generated by CoffeeScript 1.7.1 | |
| (function() { | |
| var AVATAR_BASE, AYPStrip, AYP_AWS_BUCKET, AYP_AWS_KEY, AYP_AWS_SECRET, AYP_BUBBLE_MAX_WIDTH, AYP_BUBBLE_PADDING_HORIZONTAL, AYP_BUBBLE_PADDING_VERTICAL, AYP_FONT_FILE, AYP_FONT_SIZE, AYP_PANEL_HEIGHT, AYP_PANEL_PADDING, AYP_PANEL_WIDTH, AYP_TEXT_PADDING, BG_BASE, FONT_PATH, GD, IMG_BASE, PantsBuffer, ROOT, Redis, S3, Url, filterName, filterText, fs, path, s3, | |
| __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, | |
| __slice = [].slice; | |
| fs = require('fs'); | |
| path = require('path'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| textSize = (msg, font, size) -> | |
| bb = (GD.create(1,1)).stringFTBBox(black, font, size, 0, 0, 0, msg) | |
| [ | |
| bb[2] - bb[0], | |
| bb[1] - bb[7] | |
| ] | |
| chunkInputInto = (msg, splits) -> | |
| stepSize = Math.round(msg.length / splits) | |
| chunks = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; Keyboard Macro Editor. Press C-c C-c to finish; press C-x k RET to cancel. | |
| ;; Original keys: CAT RET PLANET RET | |
| Command: last-kbd-macro | |
| Key: none | |
| Macro: | |
| CAT ;; self-insert-command * 3 | |
| RET ;; erc-send-current-line |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/export.c b/src/export.c | |
| index 750f6f8..c93f530 100644 | |
| --- a/src/export.c | |
| +++ b/src/export.c | |
| @@ -91,7 +91,17 @@ klist_t(poly) *poly_to_tris(klist_t(poly)* dst, poly_t *poly) { | |
| v_cur = &poly->vertices[i]; | |
| v_prev = &poly->vertices[i - 1]; | |
| poly_t *tri = poly_make_triangle(poly->vertices[0], *v_prev, *v_cur); | |
| - *kl_pushp(poly, result) = tri; | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ./csgtool.dbg audit hard-new.stl.bsp.stl | |
| [ERROR] (/Users/yshirokov/src/social/csgtool/src/poly.c:394: errno: None) Failed to add vertex c to poly(0x7fcb99c442b0): (-136.084183, 154.456314, 0.500000) | |
| [ERROR] (/Users/yshirokov/src/social/csgtool/src/poly.c:394: errno: None) Failed to add vertex c to poly(0x7fcb99c44f50): (-136.084183, 154.456314, 0.500000) | |
| [ERROR] (/Users/yshirokov/src/social/csgtool/src/poly.c:394: errno: None) Failed to add vertex c to poly(0x7fcb99c65790): (-137.313507, 154.327103, 0.500000) | |
| [ERROR] (/Users/yshirokov/src/social/csgtool/src/poly.c:392: errno: None) Failed to add vertex b to poly(0x7fcb99d16910): (-135.334747, 154.124725, 0.500000) | |
| [ERROR] (/Users/yshirokov/src/social/csgtool/src/poly.c:394: errno: None) Failed to add vertex c to poly(0x7fcb99de5980): (-137.838303, 153.986298, 3.000000) | |
| [ERROR] (/Users/yshirokov/src/social/csgtool/src/poly.c:392: errno: None) Failed to add vertex b to poly(0x7fcb99de6380): (-137.838150, 153.986420, 3.000000) | |
| [ERROR] (/Users/yshirokov/src/so |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/poly.c b/src/poly.c | |
| index 44c7ec5..9dfebd0 100644 | |
| --- a/src/poly.c | |
| +++ b/src/poly.c | |
| @@ -261,6 +261,7 @@ int poly_classify_poly(poly_t *this, poly_t *other) { | |
| } | |
| int poly_split(poly_t *divider, poly_t *poly, poly_t **front, poly_t **back) { | |
| + bool failed = false; | |
| // Create polygons if we were not passed allocated ones |



