Mike Erickson
Mike Erickson
应该是丢失焦点的时候清空快捷键(现在代码是在得到焦点的时候清空,强迫症患者应该在丢失的时候就清空,问题不大) 但是这个清空按下后,去获得hotkeys.ctrl 或者 hotkeys.alt 还是错误的变量,这个就是个错误了 临时hack ``` window.addEventListener("blur", e => { hotkeys.shift = false; hotkeys.ctrl = false; hotkeys.alt = false; hotkeys.option = false; hotkeys.control = false; hotkeys.cmd = false; hotkeys.command...
Demo address: https://fishorbear.github.io/PathTracing-Renderer/dist/index.html You can switch shader codes by clicking on the control button in the upper left corner, "Path" or "Mis". https://github.com/FishOrBear/PathTracing-Renderer I transplanted path tracking for integrated MIS....
import { constants } from "@jscad/modeling/src/maths"; constants.EPS Different projects have different precision requirements, it would be better if it could be modified.
example: ```javascript test('test ^', () => { console.log("hello ") }); ``` When you click `Debug`. The character `^` causes an error. Console information: ``` Ran all test suites matching /PointInPolyline.test.ts/i...
http://www.angusj.com/delphi/clipper/documentation/Docs/Units/ClipperLib/Functions/MinkowskiSum.htm
This is a cool project
Like the following, I think it can be better than using string comparison performance. ``` export enum Direction { left = 1, right = 2, top = 4, bottom =...
When there is a beveled drag element, the next drag element is reduced. This will prevent the mouse from catching other states incorrectly when it is beveled. 
这种对象是可以用interface直接声明的,运行起来也没问题. ``` import { Margin } from 'ue'; export const common_def_border_padding: Margin = { Left: common_def_border_padding_size, Right: common_def_border_padding_size, Top: common_def_border_padding_size, Bottom: common_def_border_padding_size }; ``` 
需要注意的是 nodejs编译又有一个新坑,解决方案是这个https://github.com/nodejs/node/issues/34539#issuecomment-768825430