2D/3D Formeln

Previous topic - Next topic

WPShadow

Hab einen Fehler gefunden! Hat bei mir erst mit der Kugel funktioniert, als ich

z = sin(a) * länge

gesetzt habe. Dafür gibt's bei sin(b) ein super 3D Kreuz! *g*
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Schranz0r

Wieso auf Z den A-Winkel?
Das stimmt so nicht!

Oder hast du Z mit Y wieder vertauscht, wie schonmal :D
Dann musste Y = Sin(b)*länge machen
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

WPShadow

Jaja, so meine ich das ja!!! Ich vertausche Z&Y sowieso immer...  *ggg*
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Schranz0r

LOL, aber wieso?
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

WPShadow

Du weißt ja, die Grenze zwischen Genie und Wahnsinn... hehehe

Nein, eher nicht! Ich bin einfach bloß leicht zu verwirren!!! =)
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Schranz0r

Ach, so nennt man das jetzt schon :D
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

WPShadow

Hey, heute setzte ich mich übrigens an ein Voll 3D Tic Tac Toe! *ggg*

Herausforderung von einem unserer "Lehrer". =)

Du kannst ja mit machen, wenn du willst!
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Kitty Hello

Wenn Du eine Herausforderung willst: ein 3x3x3 TicTacToe hat 3 symetrieachsen. Nutze sie für die Abfrage, ob einer 3 in einer Reihe hat! :D
Den Code schnallt dann dein Lehrer sicher auch die erste Stunde lang nicht.

WPShadow

Klingt nach einem Plan, aber das dauert wohl oder übel noch ein bißchen (d.h. Wochenende), bis ich fertig bin! =)
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Schranz0r

lol viel spass
 :D

Abfrage der Einzelnen Dims untereinander, sollte dir ja bekannt sein :D

Die For--Schleife in der For-Scleife ;)
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Kitty Hello

War nur Spaß - mach das besser nicht so. Da blickt keiner mehr durch... :)

WPShadow

Hast Recht! Ich mache es lieber mit einzeln IF - Anweisungen:

Code (glbasic) Select
IF tic[0] = 1 AND tic[14] = 1 and tic[27] = 1 or IF...Und alle Abfragen als Einzeiler! Damit man die Übersicht behält! *ggg*
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Schranz0r

Na viel spass, da tipste dich ja Tot :d
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

WPShadow

Hey, das ist die wahre Herausforderung! =)
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est