@@ -3317,6 +3317,35 @@ declare module "@r1tsuu/raylib" {
33173317 /** Set shader uniform Vec4 */
33183318 export function SetShaderVec4 ( shader : Shader , locIndex : number , value : Vector4 ) : void
33193319
3320+ export function Camera3D (
3321+ /** Camera position. (Vector3) */
3322+ position : Vector3 ,
3323+ /** Camera target it looks-at. (Vector3) */
3324+ target : Vector3 ,
3325+ /** Camera up vector (rotation over its axis). (Vector3) */
3326+ up : Vector3 ,
3327+ /** Camera field-of-view aperture in Y (degrees) in perspective, used as near plane width in orthographic. (float) */
3328+ fovy : number ,
3329+ /** Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC. (int) */
3330+ projection : number ,
3331+ ) : Camera3D
3332+
3333+ export function Vector3 (
3334+ /** Vector x component. (float) */
3335+ x : number ,
3336+ /** Vector y component. (float) */
3337+ y : number ,
3338+ /** Vector z component. (float) */
3339+ z : number ,
3340+ ) : Vector3
3341+
3342+ export function Vector2 (
3343+ /** Vector x component. (float) */
3344+ x : number ,
3345+ /** Vector y component. (float) */
3346+ y : number ,
3347+ ) : Vector2
3348+
33203349 /** Set to try enabling V-Sync on GPU */
33213350 export const FLAG_VSYNC_HINT = 64
33223351 /** Set to run program in fullscreen */
@@ -5010,4 +5039,6 @@ declare module "@r1tsuu/raylib" {
50105039 export const BLANK : { r : 0 , g : 0 , b : 0 , a : 0 }
50115040 export const MAGENTA : { r : 255 , g : 0 , b : 255 , a : 255 }
50125041 export const RAYWHITE : { r : 245 , g : 245 , b : 245 , a : 255 }
5042+
5043+
50135044}
0 commit comments