| |
|
|
- Page 1 - |
|
Frank Abbing | i wish me (in first line for Floats) whom new relationalen Operator: about or. almost same. means quasi one Gleichheitszeichen with of/ one spare einstellbaren tolerance, z.B.:
~=
or
><
and moreover a function, around the Toleranzwert (in positiver and at the same time too negativer direction) To settle, How z.B.:
Set(About, 0.0001)
the whole would too meaningfully for Integer-numbers. in the drop setting one even ganzzahlige values:
Set(About,3)
For this, Please too reading: [web]https://www.rgh-soft.de/forum01/read.php?f=7&i=12824&t=12824[/web] and [web]https://de.wikipedia.org/wiki/Gleichheitszeichen[/web] |
|
|
| |
|
|
|
| |
|
- Page 2 - |
|
| Perhaps should we simply one rectangle draw and the Members hereon image. |
|
|
| |
|
|
| |
|
- Page 3 - |
|
|
Jac de Lad | |
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 11/20/07 ▲ |
|
|
|
|
RGH | it'll Intersect(type$, A#, B#) give,
type r: A# and B# are Rechtecke (interne structure: Rectangle) type c: A# and B# are Quader (interne structure: Cuboid) type o: A# and B# are oGLSprites (interne structure: oGLSprite)
If A# and B# itself overlap (bump) is the Result 1, otherwise 0.
If everything well goes, becomes it tommorrow so far his.
nearly(), between() and brat() becomes it naturally too give.
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/20/07 ▲ |
|
|
|
|
Frank Abbing | Beautiful. |
|
|
| |
|
|
|
|
Intersect(type$, A#, B#)
These shape can You you from of my visibility unfortunately save there these imho hardly profit bring.
If first The Memory-Variables To befüllen are is eachone Geschwindigkeitsvorteil of it.
if i remember rightly went it Specifically therefore More performance through less ZEILEN To achieve.
its absolutely necessary - and only so meaningfully - the The Parameter directly Floats his can. |
|
|
| |
|
|
|
RGH | iF
If first The Memory-Variables To befüllen are is eachone Geschwindigkeitsvorteil of it.
Why should You The first to that comparison befüllen? If in Your game Rechtecke vorkommen, The bump could, then become You tappt im dunkeln of he beginning into new Structures Save and so too on others to put a whole crowd Lines conserve!
and for OpenGL are You too with the oGLSprites nice out. were means, To You The guide to the new functions siehtst.
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/20/07 ▲ |
|
|
|
|
| If many Coordinates - z.B. with Partikeleffekten in Arrays stored are power it simply none sense, or I übersehe something.
your Variante force but oop or. reaches To benefit - though one with the of me suggested Float-Variante both had benefit can! |
|
|
| |
|
|
|
RGH | for the Floats there still the between(): CompileMarkSeparationtreffer1d = between(x, vonx, bisx) Wert x im Bereich
treffer2d = between(x, vonx, bisx, y, vony, bisy) Punkt x,y im Rechteck
treffer3d = between(x, vonx, bisx, y, vony, bisy, z, vonz, bisz) Punkt x,y,z im Quader re> Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/20/07 ▲ |
|
|
|
|
| Juhuu I known Yes not the You, the Between too so umsetzen become.
Wait for Gibts same time one Ü!
Hehe Roland has Ü of me get!
PS: who can the already say hää? |
|
|
| |
|
|