mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-17 23:07:26 +08:00
33 lines
670 B
C++
33 lines
670 B
C++
#pragma once
|
|
#include "lua/sol.hpp"
|
|
|
|
namespace lua::vector
|
|
{
|
|
// Lua API: Class
|
|
// Name: vec3
|
|
// Class representing a 3D vector.
|
|
|
|
// Lua API: Constructor
|
|
// Class: vec3
|
|
// Param: x: float: x component of the vector.
|
|
// Param: y: float: y component of the vector.
|
|
// Param: z: float: z component of the vector.
|
|
// Returns a vector that contains the x, y, and z values.
|
|
|
|
// Lua API: Field
|
|
// Class: vec3
|
|
// Field: x: float
|
|
// x component of the vector.
|
|
|
|
// Lua API: Field
|
|
// Class: vec3
|
|
// Field: y: float
|
|
// y component of the vector.
|
|
|
|
// Lua API: Field
|
|
// Class: vec3
|
|
// Field: z: float
|
|
// z component of the vector.
|
|
|
|
void bind(sol::state& state);
|
|
} |