[solved] What does v3s16 and so on mean?

For people working on the C++ code.
Post Reply
User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

[solved] What does v3s16 and so on mean?

by burli » Post

I'm not shure what type this is. Is it something like a signed 16 Bit vector?
Last edited by burli on Sat Apr 16, 2016 08:12, edited 1 time in total.

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: What does v3s16 and so on mean?

by Calinou » Post

I would guess it's a 16-bit, signed, 3-dimensional vector.

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: What does v3s16 and so on mean?

by Krock » Post

Yes, it's a struct that contains for each dimension (x, y and z) a signed 16-Bit integer variable.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: What does v3s16 and so on mean?

by burli » Post

Thx, that's what I thaugt

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [solved] What does v3s16 and so on mean?

by burli » Post

I guess, v3f is a float vetor

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 5 guests