mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: fix merged param warnings in sokol's particles example and vlib/x/net/udp.v
This commit is contained in:
@@ -30,10 +30,10 @@ fn C.sgl_matrix_mode_modelview()
|
||||
fn C.sgl_matrix_mode_projection()
|
||||
fn C.sgl_matrix_mode_texture()
|
||||
fn C.sgl_load_identity()
|
||||
fn C.sgl_load_matrix(m []f32) // should be [16]f32
|
||||
fn C.sgl_load_transpose_matrix(m []f32) // should be [16]f32
|
||||
fn C.sgl_mult_matrix(m []f32)
|
||||
fn C.sgl_mult_transpose_matrix(m []f32) // should be [16]f32
|
||||
fn C.sgl_load_matrix(m [16]f32)
|
||||
fn C.sgl_load_transpose_matrix(m [16]f32)
|
||||
fn C.sgl_mult_matrix(m [16]f32)
|
||||
fn C.sgl_mult_transpose_matrix(m [16]f32)
|
||||
fn C.sgl_rotate(angle_rad f32, x f32, y f32, z f32)
|
||||
fn C.sgl_scale(x f32, y f32, z f32)
|
||||
fn C.sgl_translate(x f32, y f32, z f32)
|
||||
|
||||
@@ -13,7 +13,7 @@ mut:
|
||||
write_timeout time.Duration
|
||||
}
|
||||
|
||||
pub fn dial_udp(laddr, raddr string) ?UdpConn {
|
||||
pub fn dial_udp(laddr string, raddr string) ?UdpConn {
|
||||
// Dont have to do this when its fixed
|
||||
// this just allows us to store this `none` optional in a struct
|
||||
resolve_wrapper := fn(raddr string) ?Addr {
|
||||
|
||||
Reference in New Issue
Block a user