Sure you can. I was just surprised seeing a check between -32768 and +32768
where it should be between -16384 and +16384. Itis done intentionaly so...
sounding really weird in my mind.

J.

2009/8/17 Tom Edwards <[email protected]>

> Well of course - you can be standing at (0, 16384) and trying to trace
> to (0, -16384).
>
> Janek wrote:
> > Sorry for my bad initial demand. As specified by Harry I was speaking
> about
> > x, y and z axis.
> >
> > Looking at worldsize.h I can see following settings which are answering
> my
> > question:
> > #define MAX_COORD_INTEGER   (16384)
> > #define MIN_COORD_INTEGER   (-MAX_COORD_INTEGER)
> > #define MAX_COORD_FLOAT    (16384.0f)
> > #define MIN_COORD_FLOAT    (-MAX_COORD_FLOAT)
> > Thank you very much for pointing me to the right file Harry.
> >
> > By the way, I 'm surprised seeing that in this file:
> > #define ASSERT_COORD( v ) Assert( (v.x>=MIN_COORD_INTEGER*2) &&
> > (v.x<=MAX_COORD_INTEGER*2) && \
> >           (v.y>=MIN_COORD_INTEGER*2) && (v.y<=MAX_COORD_INTEGER*2) && \
> >           (v.z>=MIN_COORD_INTEGER*2) && (v.z<=MAX_COORD_INTEGER*2) ); \
> > which is validating a coord if it is between -32768 and 32768 in each
> axis.
> > Weird if we have a look at all the other specifications.
> >
> > Cheers,
> >
> > J.
> >
> > 2009/8/17 Harry Jeffery <[email protected]>
> >
> >
> >> He means the world boundaries.
> >>
> >> It's all defined in worldsize.h
> >>
> >> 2009/8/17 Tom Edwards <[email protected]>:
> >>  > Axis of what?
> >>
> >>> Janek wrote:
> >>>
> >>>> Hi all,
> >>>>
> >>>> I would like to know what are the axis range in terms of units : is it
> >>>>
> >> -4096
> >>
> >>>> to 4095 (if I'm refering to MAX_TRACE_LENGTH which is set to 4096) or
> >>>>
> >> higher
> >>
> >>>> than than lik -16384 to 16383... ?
> >>>>  I'm very interesting in knowing the real range of each axis.
> >>>>
> >>>> Thank you in advance for ya help.
> >>>>
> >>>> -------------------
> >>>> j...@nek
> >>>> _______________________________________________
> >>>> To unsubscribe, edit your list preferences, or view the list archives,
> >>>>
> >> please visit:
> >>
> >>>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >>>>
> >>>>
> >>>>
> >>>>
> >>> _______________________________________________
> >>> To unsubscribe, edit your list preferences, or view the list archives,
> >>>
> >> please visit:
> >>
> >>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >>>
> >>>
> >>>
> >> _______________________________________________
> >> To unsubscribe, edit your list preferences, or view the list archives,
> >> please visit:
> >> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >>
> >>
> >>
> >
> >
> >
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>


-- 
-------------------
j...@nek
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to