Misc. typos
Found via `codespell -q 3 --skip="./res/locales,./extlib"`
This commit is contained in:
parent
4d1e1341d9
commit
258545a334
@ -144,7 +144,7 @@ if __name__ == '__main__':
|
|||||||
break
|
break
|
||||||
|
|
||||||
elif response[0] == 'PING':
|
elif response[0] == 'PING':
|
||||||
file.send('PONG {}\r\n'.format(reponse[1]).encode('utf_8'))
|
file.send('PONG {}\r\n'.format(response[1]).encode('utf_8'))
|
||||||
|
|
||||||
elif response[1] == '433':
|
elif response[1] == '433':
|
||||||
sock.send('NICK {}\r\n'.format(irc_nick).encode('utf_8'))
|
sock.send('NICK {}\r\n'.format(irc_nick).encode('utf_8'))
|
||||||
|
@ -24,7 +24,7 @@ void main() {
|
|||||||
// calculate cap
|
// calculate cap
|
||||||
float dist = length(vec2(val * patternScale / (patternLen * width) + abs(fragLoc.x), fragLoc.y));
|
float dist = length(vec2(val * patternScale / (patternLen * width) + abs(fragLoc.x), fragLoc.y));
|
||||||
|
|
||||||
// perform antialising
|
// perform antialiasing
|
||||||
float k = smoothstep(1.0 - 2.0 * feather * pixel / (width + feather * pixel), 1.0, abs(dist));
|
float k = smoothstep(1.0 - 2.0 * feather * pixel / (width + feather * pixel), 1.0, abs(dist));
|
||||||
|
|
||||||
// perform alpha-test
|
// perform alpha-test
|
||||||
|
@ -425,7 +425,7 @@ void SSurface::ClosestPointTo(Vector p, Point2d *puv, bool mustConverge) {
|
|||||||
|
|
||||||
void SSurface::ClosestPointTo(Vector p, double *u, double *v, bool mustConverge) {
|
void SSurface::ClosestPointTo(Vector p, double *u, double *v, bool mustConverge) {
|
||||||
// A few special cases first; when control points are coincident the
|
// A few special cases first; when control points are coincident the
|
||||||
// derivative goes to zero at the conrol points, and would result in
|
// derivative goes to zero at the control points, and would result in
|
||||||
// nonconvergence. We avoid that here, and also guarantee a consistent
|
// nonconvergence. We avoid that here, and also guarantee a consistent
|
||||||
// (u, v) (of the infinitely many possible in one parameter).
|
// (u, v) (of the infinitely many possible in one parameter).
|
||||||
if(p.Equals(ctrl[0] [0] )) { *u = 0; *v = 0; return; }
|
if(p.Equals(ctrl[0] [0] )) { *u = 0; *v = 0; return; }
|
||||||
|
4
src/ui.h
4
src/ui.h
@ -58,7 +58,7 @@ inline const char *C_(const char *msgctxt, const char *msgid) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// This table describes the top-level menus in the graphics winodw.
|
// This table describes the top-level menus in the graphics window.
|
||||||
enum class Command : uint32_t {
|
enum class Command : uint32_t {
|
||||||
NONE = 0,
|
NONE = 0,
|
||||||
// File
|
// File
|
||||||
@ -291,7 +291,7 @@ public:
|
|||||||
GROUP_SCALE = 3,
|
GROUP_SCALE = 3,
|
||||||
GROUP_COLOR = 4,
|
GROUP_COLOR = 4,
|
||||||
GROUP_OPACITY = 5,
|
GROUP_OPACITY = 5,
|
||||||
// For the configuraiton screen
|
// For the configuration screen
|
||||||
LIGHT_DIRECTION = 100,
|
LIGHT_DIRECTION = 100,
|
||||||
LIGHT_INTENSITY = 101,
|
LIGHT_INTENSITY = 101,
|
||||||
COLOR = 102,
|
COLOR = 102,
|
||||||
|
Loading…
Reference in New Issue
Block a user