# Position of rect

• (3 Pages)
• 1
• 2
• 3

## 31 Replies - 906 Views - Last Post: 07 February 2014 - 12:57 PMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'http://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=339431&amp;s=1c630ea68807e19ecb9b02a1c5740bd1&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #31 project21124

Reputation: 4
• Posts: 40
• Joined: 02-February 14

## Re: Position of rect

Posted 07 February 2014 - 10:45 AM

Mekire, on 07 February 2014 - 06:33 AM, said:

project21124, on 06 February 2014 - 04:22 PM, said:

Why don't I use a conjunction? I mean, it makes perfect sense, that is what a conjunction is on the Cartesian plane(A line, if done correctly)
Are you sure that is the word you are looking for?
If it is, then I don't know what we are talking about here.

If on the other hand you mean a function (in the mathematical sense), then yes, you can calculate collisions with functions (y = mx + b for a straight line).

Slightly confused,
-Mek

A conjunction:
150<=X<=700
OR:
X>= 150 and X <= 700
OR:
X>=150 | X<= 700
A disjunction(No use for this though, really):
X>= 150 OR X<= 350

A conjunction basically says that everything "greater than 150 but less than 700" is okay.
I think it'll work.

This post has been edited by project21124: 07 February 2014 - 10:47 AM

### #32 project21124

Reputation: 4
• Posts: 40
• Joined: 02-February 14

## Re: Position of rect

Posted 07 February 2014 - 12:57 PM

project21124, on 07 February 2014 - 05:45 PM, said:

Mekire, on 07 February 2014 - 06:33 AM, said:

project21124, on 06 February 2014 - 04:22 PM, said:

Why don't I use a conjunction? I mean, it makes perfect sense, that is what a conjunction is on the Cartesian plane(A line, if done correctly)
Are you sure that is the word you are looking for?
If it is, then I don't know what we are talking about here.

If on the other hand you mean a function (in the mathematical sense), then yes, you can calculate collisions with functions (y = mx + b for a straight line).

Slightly confused,
-Mek

A conjunction:
150<=X<=700
OR:
X>= 150 and X <= 700
OR:
X>=150 | X<= 700

Normally(At least in my experience, conjunctions are used in logic statements, i.e. "Conjunction

In logic, a conjunction is a compound sentence formed by using the word and to join two simple sentences. The symbol for this is Λ. (whenever you see Λ read 'and') When two simple sentences, p and q, are joined in a conjunction statement, the conjunction is expressed symbollically as p Λ q.
Simple Sentences Compound Sentence : conjunction
p: Joe eats fries.
q: Maria drinks soda. p Λ q : Joe eats fries, and maria drinks soda."), but if you apply the rules for the Cartesian coordinate plane, you get a line(if done correctly of course), and that is what I'll use to determine collision, it makes sense.

I think it'll work.

Apparently I can't edit something that is a certain age.

This post has been edited by project21124: 07 February 2014 - 12:58 PM

• (3 Pages)
• 1
• 2
• 3

 .related ul { list-style-type: circle; font-size: 12px; font-weight: bold; } .related li { margin-bottom: 5px; background-position: left 7px !important; margin-left: -35px; } .related h2 { font-size: 18px; font-weight: bold; } .related a { color: blue; }