Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Mar 20 22:30:23 <I|> <DarkestEx> I used typdefs and similar constructs before in other parts
- Mar 20 22:30:25 <I|> <DarkestEx> without issues
- Mar 20 22:31:10 <I|> <DarkestEx> well yes, there seems to be a circle reference
- Mar 20 22:32:30 <I|> <TheMachine02> mhhh is there a P_T here :p
- Mar 20 22:32:40 <I|> <DarkestEx> http://pastebin.com/eR7dWR74
- Mar 20 22:32:42 <I|> <DarkestEx> Sorunome ^
- Mar 20 22:32:46 <P_T> yes
- Mar 20 22:32:46 <Sorunome> http://stackoverflow.com/a/2483358
- Mar 20 22:32:52 <I|> <DarkestEx> This is my main.h (RPN-Calc.h)
- Mar 20 22:32:55 <P_T> I'm here
- Mar 20 22:33:20 <I|> <TheMachine02> ahhhh :p
- Mar 20 22:33:28 <P_T> why?
- Mar 20 22:33:32 <I|> <TheMachine02> Sin and Cos in ICE ? :p
- Mar 20 22:33:34 <P_T> (tbh, I JUST came back XD)
- Mar 20 22:33:35 <P_T> nah
- Mar 20 22:33:42 <P_T> too complicated for now :(
- Mar 20 22:34:00 <I|> <TheMachine02> Well you could do either a LUT or grab what Axe was doing
- Mar 20 22:34:20 <P_T> Yeah, I might need an ez80 routine
- Mar 20 22:34:26 <P_T> a LUT is a very little bit too big :
- Mar 20 22:34:27 <P_T> :P
- Mar 20 22:34:55 <I|> <TheMachine02> http://pastebin.com/MJMyGz5i
- Mar 20 22:34:57 <Sorunome> you just need a LUT for a quarter perioud
- Mar 20 22:35:02 <Sorunome> *perioud
- Mar 20 22:35:05 <I|> <TheMachine02> should be easy to convert it to ez80
- Mar 20 22:35:05 <Sorunome> *period
- Mar 20 22:35:17 <P_T> wow nice
- Mar 20 22:35:18 <Sorunome> sorry idk darkestex
- Mar 20 22:35:42 <Sorunome> i don't know your code closely to as well as you do plus i don't have hte entire code / can't test myself etc...
- Mar 20 22:36:09 <I|> <TheMachine02> that was the code from axe parser
- Mar 20 22:36:28 <Sorunome> P_T: iirc that code only calculates a quarter period and adjusts for the other segments and also adjusts for cosine
- Mar 20 22:36:40 <Sorunome> * + you still need to adjust for those
- Mar 20 22:36:42 <P_T> yes I see
- Mar 20 22:37:12 <Sorunome> and people should ottally ditch pastebin
- Mar 20 22:37:36 <I|> <TheMachine02> also, once you have sin, you have cos
- Mar 20 22:37:49 <P_T> yeah duh
- Mar 20 22:37:57 <P_T> but I don't wanna do it rn
- Mar 20 22:38:11 <Sorunome> and then you have tan
- Mar 20 22:38:17 <Sorunome> and then you have sec
- Mar 20 22:38:19 <Sorunome> and then you have
- Mar 20 22:38:21 <Sorunome> csc
- Mar 20 22:38:23 <Sorunome> and then you have
- Mar 20 22:38:25 <Sorunome> cot
- Mar 20 22:38:27 * Sorunome hides
- Mar 20 22:38:33 <Sorunome> and then you lost the game
- Mar 20 22:39:12 <P_T> gosh I came back home, had 3 highlights in chats, and several posts, let me update all the stuff first :p
- Mar 20 22:41:24 <I|> <TheMachine02> Aw I want to highlights you even more when you say that :p
- Mar 20 22:41:27 <I|> * TheMachine02 is evil
- Mar 20 22:42:00 <P_T> Wow, I really need to think about sin( and cos( I guess
- Mar 20 22:43:22 <P_T> Might ask Xeda for that :p
- Mar 20 22:44:40 <I|> <TheMachine02> Yeah, or anyone doing assembly :p
- Mar 20 22:45:08 * Pieman (uid188464@2604:8300:100:200b:6667:7:2:e030) has left
- Mar 20 22:45:18 <P_T> If only one wants to write such routine :P
- Mar 20 22:46:45 <l|> <p4nix> P_T
- Mar 20 22:46:53 <I|> <TheMachine02> It is already writed :p
- Mar 20 22:47:02 <l|> <p4nix> Seriously, learn to figure out stuff on your own :trollface:
- Mar 20 22:48:29 * P_T ignores p4nix
- Mar 20 22:49:05 <P_T> TheMachine: a routine that takes $FFFFFF as an entire period?
- Mar 20 22:49:45 <I|> <TheMachine02> mmhhhhh
- Mar 20 22:49:52 <MateoC> wat
- Mar 20 22:49:56 <I|> <TheMachine02> that seems huge an kinda not usefull :p
- Mar 20 22:50:00 <MateoC> ^
- Mar 20 22:50:09 <I|> <TheMachine02> 256 bytes as a period is more than enough you know :p
- Mar 20 22:50:10 <P_T> D:
- Mar 20 22:50:40 <I|> <TheMachine02> you could 1024 bytes if you are really motivated, but even there, not usefull :p
- Mar 20 22:51:12 <I|> <TheMachine02> I agree for output a [-256,256] value though, instead of axe one [-127,128]
- Mar 20 22:52:58 <P_T> I'm way too tired to think normally @_@
- Mar 20 22:55:03 * critor has quit (Ping timeout: 255 seconds)
- Mar 20 22:55:34 <P_T> Which should I use: http://pastebin.com/TN02Bw5B or http://pastebin.com/MJMyGz5i ?
- Mar 20 22:57:13 <I|> <TheMachine02> the grammer one is faster
- Mar 20 22:57:21 <I|> <TheMachine02> and should be a bit bigger too
- Mar 20 22:57:37 <I|> <TheMachine02> I'll say the first one, but I am biased when it come to optimize :p
- Mar 20 22:57:59 * critor ([email protected]) has joined
- Mar 20 22:58:39 <P_T> and that is also not a tan( routine
- Mar 20 22:59:59 <I|> <DJ Omnimaga> p4nix you know that implementing walrii() in ICE could be challenging, right?
- Mar 20 23:00:03 <I|> * DJ Omnimaga runs
- Mar 20 23:00:31 <I|> <TheMachine02> yeah tan is harder
- Mar 20 23:00:38 <P_T> Please don't mess with me now, I'm super tired D:
- Mar 20 23:00:41 <I|> <TheMachine02> But even axe didn't have one :p
- Mar 20 23:00:57 <P_T> who needs tan anyway?
- Mar 20 23:01:04 <I|> <TheMachine02> Raycasting
- Mar 20 23:01:06 <I|> <DJ Omnimaga> P_T it was just a joke x.x
- Mar 20 23:01:07 <I|> * TheMachine02 runs
- Mar 20 23:01:14 <I|> <DJ Omnimaga> mostly directed at p4nix tho <.<
- Mar 20 23:03:45 <P_T> I kick the one who makes the joke about walrii() now :/
- Mar 20 23:05:35 <l|> <p4nix> Walrii()
- Mar 20 23:08:46 <l|> <p4nix> P_T sin lookup tables
- Mar 20 23:09:04 <l|> <p4nix> The functions themselve do not have to be fast
- Mar 20 23:10:13 <I|> <_iPhoenix_> In my raycaster, i didnt use tan once...
- Mar 20 23:11:03 <I|> <JWinslow23> Yet another reason why tau is more useful than pi
- Mar 20 23:11:06 <I|> <JWinslow23> You didn't use tan
- Mar 20 23:11:10 <I|> * JWinslow23 runs
- Mar 20 23:11:39 <I|> <TheMachine02> actually, you have both way to do it in raycaster
- Mar 20 23:11:53 <I|> <TheMachine02> one use tan (usefull ofr texture and such), the other don't
- Mar 20 23:13:12 <I|> <JWinslow23> What did these actors and actresses have to go through to be in this movie? http://www.imdb.com/title/tt0350258/fullcredits/
- Mar 20 23:13:23 <I|> <_iPhoenix_> yeah
- Mar 20 23:13:41 <I|> <_iPhoenix_> If you need tan, sin/cos
- Mar 20 23:13:56 <I|> <JWinslow23> Yup
- Mar 20 23:14:17 <I|> <JWinslow23> And I could make the case that, on the pure unit circle, sin and cos are the only really accessible functions.
- Mar 20 23:14:36 <I|> <JWinslow23> For tan, you have to draw lines, but also sometimes it's undefined.
- Mar 20 23:14:45 <I|> <JWinslow23> So that complicates things :P
- Mar 20 23:17:02 <I|> <p2> guys, guys, I'm magic!
- Mar 20 23:17:06 <I|> <p2> I'm a magician!!
- Mar 20 23:17:14 <I|> <TheMachine02> You have a magic wand ?
- Mar 20 23:17:16 <I|> * TheMachine02 runs
- Mar 20 23:17:22 <I|> <p2> I'm using a hotel Wifi, but the statistics say I use 0MB total :D
- Mar 20 23:17:35 <l|> <p4nix> Maagic
- Mar 20 23:17:40 <I|> <p2> little credit goes to DNS-Crypt as well ::)
- Mar 20 23:17:58 <I|> <p2> they seem not to be able to track content sent using DNS Crypt
- Mar 20 23:18:06 <I|> <DJ Omnimaga> juju
- Mar 20 23:18:09 <I|> <p2> which means their restrictions like streaming and stuff don't apply O.O
- Mar 20 23:18:11 <I|> <DJ Omnimaga> Facebook messenger is down D:
- Mar 20 23:19:49 <I|> <DJ Omnimaga> nvm I can access the chats by clicking usernames, just not the PM list
- Mar 20 23:27:43 * critor has quit (Quit: HydraIRC -> http://www.hydrairc.com <- Organize your IRC)
- Mar 20 23:28:15 <I|> * p2 off gettign food <3
- Mar 20 23:31:24 <I|> <DarkestEx> Sorunome?
- Mar 20 23:35:17 <I|> <c4ooo> Is MC server up?
- Mar 20 23:36:12 * JosJuice has quit (Read error: Connection reset by peer)
- Mar 20 23:39:00 <I|> <DJ Omnimaga> c4ooo it was yesterday
- Mar 20 23:39:32 * Walrified post by c4ooo on Re: [code-golf] Pure TI-Basic Raycaster. http://codewalr.us/1950/54323
- Mar 20 23:39:45 <I|> <DJ Omnimaga> It still is atm
- Mar 20 23:39:57 <P_T> stop with sin(cos(tan( for now <_<
- Mar 20 23:41:00 <I|> <JWinslow23> Alright
- Mar 20 23:41:04 <I|> <DJ Omnimaga> PT it's not a hurry anyway. I just got the idea aftrr that BASIC raycaster got posted
- Mar 20 23:41:05 <I|> <JWinslow23> Let's deal with arctan(
- Mar 20 23:41:07 <I|> * JWinslow23 runs
- Mar 20 23:41:41 <P_T> I'm just happy that I already implemented executing BASIC programs and Output(
- Mar 20 23:41:51 <I|> <DJ Omnimaga> Yes
- Mar 20 23:41:52 <P_T> Which is a lot if you didn't touch the code for months
- Mar 20 23:41:56 <I|> <c4ooo> TheMachine02 i disagree, [-127,128] is better
- Mar 20 23:42:02 <I|> <DJ Omnimaga> I know that x.x
- Mar 20 23:42:12 <I|> <DJ Omnimaga> When I checked Illusiat 13 code
- Mar 20 23:42:18 <I|> <DJ Omnimaga> I gave up o.o
- Mar 20 23:42:32 <I|> <JWinslow23> arctan(x) = sum from k=0 to infinity of x^(2k+1) / (2k+1)
- Mar 20 23:42:38 <P_T> lol
- Mar 20 23:42:42 <I|> <JWinslow23> Er
- Mar 20 23:42:43 <I|> <JWinslow23> No
- Mar 20 23:42:46 <P_T> My head is about to explode now, too busy ._.
- Mar 20 23:42:56 <I|> <DJ Omnimaga> D:
- Mar 20 23:43:01 <I|> <JWinslow23> arctan(x) = sum from k=0 to infinity of (-1)^k * x^(2k+1) / (2k+1)
- Mar 20 23:43:03 <I|> <DJ Omnimaga> :walriichu:
- Mar 20 23:43:04 * Walrified post by ordelore on Re: Pure TI-Basic Raycaster. http://codewalr.us/1950/54324
- Mar 20 23:43:04 <I|> <c4ooo> @TheMachine02 first of 256 is a large enough period, also 256 fits in a byte, so you can just let it over flow.
- Mar 20 23:43:06 <I|> <JWinslow23> That's it ^^
- Mar 20 23:43:17 <I|> <c4ooo> ICE's
- Mar 20 23:43:19 <I|> <c4ooo> ->
- Mar 20 23:43:23 <I|> <c4ooo> ISIS? O.o
- Mar 20 23:43:24 <I|> <JWinslow23> And this leads to the famous formula for tau/8
- Mar 20 23:43:44 <I|> <JWinslow23> 1-1/3+1/5-1/7+1/9-1/11+...
- Mar 20 23:43:54 <I|> <DJ Omnimaga> c4ooo wat
- Mar 20 23:43:54 <P_T> I gonna hate c4ooo
- Mar 20 23:44:05 <P_T> You can't leave me in peace?
- Mar 20 23:44:46 <I|> <c4ooo> ε> chill <3
- Mar 20 23:45:10 <I|> <c4ooo> JWinslow i might need 256 decimal digits of pie and tao for a program i am writing xD
- Mar 20 23:46:49 <I|> <JWinslow23> c4ooo: It's "pi" and "tau"
- Mar 20 23:46:56 <I|> <JWinslow23> Simple Greek letters, people. :P
- Mar 20 23:47:06 <I|> <c4ooo> >greek
- Mar 20 23:47:12 <I|> <JWinslow23> And is it for the raycaster?
- Mar 20 23:47:13 <I|> <c4ooo> >rome master race :trollface:
- Mar 20 23:47:19 <I|> <c4ooo> JWinslow no
- Mar 20 23:47:19 <I|> <DJ Omnimaga> P_T seriously CHILL THE FUCK OUT OR YOU'LL BE PERMBANNED
- Mar 20 23:47:25 <I|> <c4ooo> err
- Mar 20 23:47:32 <I|> <c4ooo> i think DJ needs to also chill
- Mar 20 23:47:42 <I|> <DJ Omnimaga> You have sand in your vagina all the time so get rid of it
- Mar 20 23:47:52 <P_T> wat????
- Mar 20 23:48:00 <P_T> why???
- Mar 20 23:48:05 <I|> <DJ Omnimaga> c4ooo he jumps at people all the time. It's fucking annoying
- Mar 20 23:48:10 <I|> <JWinslow23> Whoa, second time I've seen this from DJ (once b/c of kotu)
- Mar 20 23:48:32 <P_T> that's not true. c4ooo makes bad jokes about ICE at this time, while I'm very tired
- Mar 20 23:48:36 <P_T> what's wrong with me?
- Mar 20 23:48:37 <I|> <DJ Omnimaga> We cant even make a joke anymore in CW whenever he's around
- Mar 20 23:48:45 <P_T> That is bullsh*t
- Mar 20 23:49:02 <I|> <DJ Omnimaga> Everytome Im around you do it PT. Even with p4nix
- Mar 20 23:49:09 <I|> <c4ooo> C:\Users\Benedikt\AppData\Local\Temp\arduino_build_951713\sketch\RPN-Calc.h:16:0 this url doesn't work :trollface:
- Mar 20 23:49:21 <I|> <DJ Omnimaga> Jwin p4nix c4ooo me
- Mar 20 23:49:56 <I|> <DJ Omnimaga> Cya now cuz i dont want to deal with this tonight. Gonna shut off walrusirc
- Mar 20 23:50:04 <P_T> Seriously I don't see what's wrong with me now?
- Mar 20 23:50:13 <I|> <c4ooo> Bigdecimal84 is coming along nicely
- Mar 20 23:50:25 <P_T> I'm only a bit tired, and I say that to c4ooo, since I don't enjoy his jokes rn
- Mar 20 23:50:27 <I|> <JWinslow23> ...anywayyyyyyy......
- Mar 20 23:50:50 <I|> <JWinslow23> c4ooo: What would you need at least 256 digits of pi and/or tau for?
- Mar 20 23:50:55 <I|> <c4ooo> not jokes?
- Mar 20 23:51:16 <I|> <c4ooo> pointing out a coincidence
- Mar 20 23:51:28 <I|> <c4ooo> JWinslow bigdecimal >_>
- Mar 20 23:51:53 <P_T> well if you want to permban me, have fun, you said yourself that I was someone who is actually pretty active and stuff
- Mar 20 23:52:04 <I|> <JWinslow23> Oh right
- Mar 20 23:52:09 <P_T> ugh
- Mar 20 23:52:10 <P_T> thanks
- Mar 20 23:52:12 * Pieman (uid188464@2604:8300:100:200b:6667:7:2:e030) has joined
- Mar 20 23:52:21 <I|> <JWinslow23> Send me a link to the thread?
- Mar 20 23:52:54 <P_T> what thread?
- Mar 20 23:53:01 * Walrified post by c4ooo on Re: [code-golf] Pure TI-Basic Raycaster. http://codewalr.us/1950/54325
- Mar 20 23:53:31 <I|> <JWinslow23> Not you PT
- Mar 20 23:53:36 <I|> <JWinslow23> c4ooo's bigdecimal
- Mar 20 23:54:05 <P_T> if you want to permban me, please delete my AoCE and ICE thread as well, if that is not worth CW
- Mar 20 23:54:51 <I|> <c4ooo> seems worthy for me
- Mar 20 23:55:01 <I|> <c4ooo> JWinslow: will post later tonight
- Mar 20 23:55:31 <I|> <JWinslow23> PT they're actually both coming along nicely
- Mar 20 23:55:51 * Walrified post by Ranman on Re: Pure TI-Basic Raycaster. http://codewalr.us/1950/54326
- Mar 20 23:56:00 <I|> <JWinslow23> ICE seems like a useful programmer's tool, and AoCE might be my first strategy-role-playing game ever
- Mar 20 23:56:00 <P_T> say that to DJ <_<
- Mar 20 23:56:01 <I|> <JWinslow23> :P
- Mar 20 23:56:11 <I|> <JWinslow23> But whatever happens
- Mar 20 23:56:15 <I|> <JWinslow23> There's always Cemetech
- Mar 20 23:56:16 <I|> * JWinslow23 hides
- Mar 20 23:56:27 <P_T> it seems he can't accept that I'm tired and respond a little bit different I want
- Mar 20 23:56:36 <MateoC> Everyone try some frozen grapes
- Mar 20 23:56:45 <MateoC> They are delicious
- Mar 20 23:56:49 <I|> <Ranman> yummy
- Mar 20 23:57:02 <I|> <JWinslow23> ...jokes aside, let's both hope you guys both improve on what you guys need to improve on
- Mar 20 23:57:08 <MateoC> Especially soaked in alchol beforehand
- Mar 20 23:57:12 <l|> <DJ_Omnimaga> P_T having the best or second best CW project ever doesn't automatically exempt a forum user from the rules, same for years of experience
- Mar 20 23:57:24 <P_T> Where did I break the rules?
- Mar 20 23:57:34 <l|> <DJ_Omnimaga> I cant permban you yet anyway, you would need like 5 warnings for that
- Mar 20 23:58:13 <l|> <DJ_Omnimaga> P_T trying to make people who were just making jokes about sin/cos/tan or walrii() feel like shit
Advertisement
Add Comment
Please, Sign In to add comment