tupoy-ya eecd20beaf feat(Lua)!: New Lua bindings (#3563)
* feat(Lua): Make independent imgui independent.
feat(Lua): Add a `pointer:set_address` binding.
feat(Lua): Added `menu_event.Wndproc` event.
fix(Lua): Fix `ImGui.SliderFloat3` binding.
fix(Lua Docs): Partially fixed auto generated documentation.
* fix(gui.cpp): include `lua_manager.hpp`.
* fix(lua_manager.hpp): Added `draw_less_dependent_gui` function.
* chore(Lua): Rename `add_independent_imgui` to `add_always_draw_imgui`.
* docs(menu_event): Added docs for Wndporc event.
* docs: Fixed a few more errors.
* add reasoning and use native underlying format

Co-authored-by: tupoy-ya <tupoy-ya@users.noreply.github.com>
Co-authored-by: xiaoxiao921 <837334+xiaoxiao921@users.noreply.github.com>
2024-08-14 08:40:09 +02:00

542 B

Class: vec3

Class representing a 3D vector.

Fields (3)

x

x component of the vector.

  • Type: float

y

y component of the vector.

  • Type: float

z

z component of the vector.

  • Type: float

Constructors (1)

new(x, y, z)

Returns: vec3: a vector that contains the x, y, and z values.

  • Parameters:
    • x (float): x component of the vector.
    • y (float): y component of the vector.
    • z (float): z component of the vector.

Example Usage:

myInstance = vec3:new(x, y, z)