Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
sdl_test
master
Top Level Namespace
Float32
Float64
GL
Color4
ColorBuffer
GLM
Mat4
TMat4
TVec3
Vec3
SDL
Event
Window
SdlTest
Shader
Transform
Built with Crystal 1.10.0
2023-11-04 00:56:24 UTC
module
GLM
Defined in:
glm.cr
Class Method Summary
.deg_to_rad
(d)
.look_at
(eye : Vec3, center : Vec3, up : Vec3)
.perspective
(fov_y, aspect, near, far)
.vec3
(x, y, z)
Class Method Detail
def self.
deg_to_rad
(d)
#
[
View source
]
def self.
look_at
(eye :
Vec3
, center :
Vec3
, up :
Vec3
)
#
[
View source
]
def self.
perspective
(fov_y, aspect, near, far)
#
[
View source
]
def self.
vec3
(x, y, z)
#
[
View source
]