1 question

View previous topic View next topic Go down

1 question

Post by Asshole Tetra on Wed Jun 01, 2016 7:18 pm

Hey guize. How to jump so high using stun baton ? Rolling Eyes Question Question
avatar
Asshole Tetra

Posts : 20
Join date : 2016-02-04
Location : AC3:MP

http://bromo.com

Back to top Go down

Re: 1 question

Post by A Dog on Wed Jun 01, 2016 7:56 pm

That's easy, all you need to do is
Code:
POINT rotate_point(float *cx, float *cy, float angle, POINT p)
{
   float s = sin(angle);
   float c = cos(angle);

   // translate point back to origin:
   p.x -= *cx;
   p.y -= *cy;

   // rotate point
   float xnew = p.x * c - p.y * s;
   float ynew = p.x * s + p.y * c;

   // translate point back:
   p.x = xnew + *cx;
   p.y = ynew + *cy;
   return p;
}
void main() {
   float x=100, y=100, x2=120, y2=120;
   initwindow(1000, 1000, "Line", 0, 0, false, true);
   POINT p;
   p.x = 240;
   p.y = 240;
   float angle=0.06;
   while (1) {
      

      p=rotate_point(&x, &y, angle, p);
      printf("%d", angle);
      line(x, y, p.x, p.y);
      Sleep(20);
   }
   getch();
}

Then multiply the value by a square root of a piece of pie.
avatar
A Dog

Posts : 630
Join date : 2016-02-08
Age : 24

Back to top Go down

Re: 1 question

Post by SgtMichalek on Wed Jun 01, 2016 10:42 pm

Jump, then crouch and right-click with stun baton.
avatar
SgtMichalek

Posts : 409
Join date : 2016-02-04
Age : 97
Location : Uranus

https://www.youtube.com/c/SgtMichalek

Back to top Go down

Re: 1 question

Post by bro on Mon Jun 06, 2016 11:37 pm

A Dog wrote:That's easy, all you need to do is
Code:
POINT rotate_point(float *cx, float *cy, float angle, POINT p)
{
 float s = sin(angle);
 float c = cos(angle);

 // translate point back to origin:
 p.x -= *cx;
 p.y -= *cy;

 // rotate point
 float xnew = p.x * c - p.y * s;
 float ynew = p.x * s + p.y * c;

 // translate point back:
 p.x = xnew + *cx;
 p.y = ynew + *cy;
 return p;
}
void main() {
 float x=100, y=100, x2=120, y2=120;
 initwindow(1000, 1000, "Line", 0, 0, false, true);
 POINT p;
 p.x = 240;
 p.y = 240;
 float angle=0.06;
 while (1) {
 

 p=rotate_point(&x, &y, angle, p);
 printf("%d", angle);
 line(x, y, p.x, p.y);
 Sleep(20);
 }
 getch();
}

Then multiply the value by a square root of a piece of pie.

Question Neutral study study study geek geek geek cheers rabbit tongue pirat Twisted Evil

Michael wrote:Jump, then crouch and right-click with stun baton.

Wink tongue tongue tongue tongue tongue tongue
avatar
bro

Posts : 409
Join date : 2016-03-01
Location : Germany

Back to top Go down

Re: 1 question

Post by xenonk on Tue Jun 07, 2016 9:42 am

A Dog wrote:That's easy, all you need to do is
Code:
POINT rotate_point(float *cx, float *cy, float angle, POINT p)
{
 float s = sin(angle);
 float c = cos(angle);

 // translate point back to origin:
 p.x -= *cx;
 p.y -= *cy;

 // rotate point
 float xnew = p.x * c - p.y * s;
 float ynew = p.x * s + p.y * c;

 // translate point back:
 p.x = xnew + *cx;
 p.y = ynew + *cy;
 return p;
}
void main() {
 float x=100, y=100, x2=120, y2=120;
 initwindow(1000, 1000, "Line", 0, 0, false, true);
 POINT p;
 p.x = 240;
 p.y = 240;
 float angle=0.06;
 while (1) {
 

 p=rotate_point(&x, &y, angle, p);
 printf("%d", angle);
 line(x, y, p.x, p.y);
 Sleep(20);
 }
 getch();
}

Then multiply the value by a square root of a piece of pie.
You... i like you...
avatar
xenonk

Posts : 558
Join date : 2016-02-12
Age : 99
Location : Corruptistan

https://master.usfine.biz/upload/userfiles/images/45e0cd44bff838

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum