diff --git a/VERSIONS b/VERSIONS index d547de12a..9a7ecec03 100644 --- a/VERSIONS +++ b/VERSIONS @@ -30,17 +30,7 @@ new ChuGL v0.2.4 (see ChuGL release notes below) (previously, this would cause a crash in some cases) (fixed) vec2/vec3/vec4 function call from literal (non-variable) value (e.g., @(1,0).magnitude(); previously this yielded a compiler error) -(added) new `MouseCursor` class for quickly accessing mouse cursor: - // absolute screen coordinate of cursor - vec2 MouseCursor.xy(); - // scaled coordinates in range [0,1] - vec2 MouseCursor.scaled(); - (see API reference for more information) - https://chuck.stanford.edu/doc/reference/io.html#MouseCursor -(added) new `Mousor` class; `Mousor` is functionally equivalent to `MouseCursor`, - purely made for those prefer slightly less typing and slightly more chaos! -(added) examples/hid/mouse-cursor.ck - examples/stk/tubebell-algo5.ck +(added) examples/stk/tubebell-algo5.ck (added) vector dot product methods for vec2, vec3, and vec4 float vec2.dot( vec2 rhs ) float vec3.dot( vec3 rhs ) diff --git a/src/core/chuck_io.cpp b/src/core/chuck_io.cpp index 7d105f946..7df75e120 100644 --- a/src/core/chuck_io.cpp +++ b/src/core/chuck_io.cpp @@ -1497,6 +1497,18 @@ t_CKBOOL init_class_HID( Chuck_Env * env ) type_engine_import_class_end( env ); */ +// RELEASE NOTES for when we are ready +// (added) new `MouseCursor` class for quickly accessing mouse cursor: +// // absolute screen coordinate of cursor +// vec2 MouseCursor.xy(); +// // scaled coordinates in range [0,1] +// vec2 MouseCursor.scaled(); +// (see API reference for more information) +// https://chuck.stanford.edu/doc/reference/io.html#MouseCursor +// (added) new `Mousor` class; `Mousor` is functionally equivalent to `MouseCursor`, +// purely made for those prefer slightly less typing and slightly more chaos! +// (added) examples/hid/mouse-cursor.ck + // init MouseCursor class | 1.5.4.2 (ge & spencer) added if( !type_engine_import_class_begin( env, "MouseCursor", "Object", env->global(), MouseCursor_ctor, MouseCursor_dtor, diff --git a/src/scripts/ckdoc/gen-all.ck b/src/scripts/ckdoc/gen-all.ck index 11c1f39fd..25a5c403d 100644 --- a/src/scripts/ckdoc/gen-all.ck +++ b/src/scripts/ckdoc/gen-all.ck @@ -125,7 +125,7 @@ doc.addGroup( doc.addGroup( [ "IO", "FileIO", /* "StdOut", "StdErr", */ "OscIn", "OscOut", "OscMsg", - "Hid", "HidMsg", "MouseCursor", "Mousor", "KBHit", "SerialIO", + "Hid", "HidMsg", /* "MouseCursor", "Mousor", */ "KBHit", "SerialIO", "MidiIn", "MidiOut", "MidiMsg", "MidiFileIn" ], // group name "Input & Output",