Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 08/22/26 08:44
Max Number of Strategies in /Strategy folder
by Martin_HH. 08/17/26 07:54
Pause button for evaluation shell?
by AndrewAMD. 08/13/26 17:16
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 08/10/26 12:46
phantom() not defined in indicators.c
by jcl. 08/07/26 11:45
Accepting new programming clients
by AndrewAMD. 08/06/26 21:25
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (EW_bytes, 1 invisible), 3,365 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19230 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