The V Programming Language

Simple, fast, safe, compiled language for developing maintainable software
Install V from source in 0.5 seconds
wget && gcc -o v v.c

V's predeclared functions and types (including strings, arrays, maps)

Encoding and decoding of base64 as defined in RFC 4648
Hardware accelerated Graphics library using OpenGL (DirectX, Vulkan, Metal support soon)
OpenGL wrapper
Constants and helpers for drawing
Encoding and decoding of JSON as defined in RFC 7159
Basic constants and mathematical functions
Platform-independent interface to operating system functionality
Measuring and displaying time
Cross-platform UI library

This is a very early version of vlib. Many of the types and function signatures are going to change.

Generated with vdoc. Not sorted alphabetically yet.
fn vec2(x, y int) Vec2
fn new_context(cfg Cfg) *GG
fn (ctx &GG) draw_triangle(x1, y1, x2, y2, x3, y3 float, c gx.Color)
fn (ctx &GG) draw_triangle_tex(x1, y1, x2, y2, x3, y3 float, c gx.Color)
fn (ctx &GG) draw_text(_x, _y int, text string, cfg gx.TextCfg)
fn (c GG) circle(x, y, r int)
fn create_image(file string) u32
fn (ctx &GG) draw_line_c(x, y, x2, y2 int, color gx.Color)
fn (c &GG) draw_line(x, y, x2, y2 int)
fn (c &GG) draw_vertical(x, y, height int)
fn (ctx &GG) draw_image(x, y, w, h float, tex_id u32)
fn (c &GG) draw_empty_rect(x, y, w, h int, color gx.Color)