Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,631 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: kleine mathe frage [Re: ello] #338317
08/17/10 06:27
08/17/10 06:27
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Different method (tested, works), code is in lite-C:
Code:
void vec_rasterize(VECTOR* _vec, var _number)
{
	_vec.x = _vec.x - (_vec.x % _number);
	_vec.y = _vec.y - (_vec.y % _number);
	_vec.z = _vec.z - (_vec.z % _number);
}



Re: kleine mathe frage [Re: Xarthor] #338327
08/17/10 09:10
08/17/10 09:10
Joined: Dec 2000
Posts: 4,608
mk_1 Offline

Expert
mk_1  Offline

Expert

Joined: Dec 2000
Posts: 4,608
Wurde ich übergangen? o.0


Follow me on twitter
Re: kleine mathe frage [Re: mk_1] #338334
08/17/10 10:03
08/17/10 10:03
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
ne, aber das muß ich sowieso erst noch verdauen und testen was da passiert

danke soweit für eure antworten.. das mit dem modulo hatte ich gestern auchschon ausprobiert, aber auch dabei kamen seltsame winkel raus, so daß vll. an anderer stelle ein fehler vorhanden ist..

Page 2 of 2 1 2

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1