Skip to content

Commit

Permalink
Default vector values
Browse files Browse the repository at this point in the history
  • Loading branch information
wixoaGit authored Feb 20, 2025
1 parent 3facc09 commit 46bc387
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions DMCompiler/DMStandard/Types/Vector.dm
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/vector
var/len as num
var/size as num
var/x as num
var/y as num
var/z as num
// TODO: Verify these default values
var/len = 2 as num
var/size = 0 as num
var/x = 0 as num
var/y = 0 as num
var/z = 0 as num

proc/New(x, y, z)

Expand Down

0 comments on commit 46bc387

Please sign in to comment.