|
|
On 11/26/2016 6:14 AM, Jim Holsenback wrote:
> On 11/25/2016 11:41 AM, Jim Holsenback wrote:
>> On 11/25/2016 11:20 AM, clipka wrote:
>>> Am 25.11.2016 um 16:30 schrieb Jim Holsenback:
>>>> On 11/25/2016 10:21 AM, clipka wrote:
>>>>> Am 25.11.2016 um 15:29 schrieb Jim Holsenback:
>>>>>> Error: Bad operands for period operator.
>>>>>>
>>>>>> #local Pt1 = Vec + x*(OTO_Get_Offset(Vec).x) +
>>>>>> y*(OTO_Get_Offset(Vec+x).y);
>>>>>
>>>>> Need more input -- what is OTO_Get_Offset(..)?
>>>>>
>>>> it's in sam's odd tiles marco ... attached is complete include
>>>
>>> It's a bug in OTO_Get_Offset(), which had previously been lying somewhat
>>> dormant, but has now been exposed.
>>
>> come again ... are we looking at the same thing?
>>
>> in the include file i'm seeing:
>>
>> #macro OTO_Get_Offset(Cell)
>> #local CX = Cell.x;
>> #local CY = Cell.y;
>> (1-Bev*2)*<1,1,0>*(.5-OTO_FOffs(CX,CY,0))
>> #end
>
> no help?!?
if it's /in/ the OTO_Get_Offset macro then why does commenting out the
.y and .x notation (after the call to macro) get rid of the error:
#if(OTO_Get_Mask(Vec)=1 )
#local Pt1 = Vec + y*(OTO_Get_Offset(Vec)/*.y*/) +
x*(OTO_Get_Offset(Vec+y)/*.x*/);
#local Pt2 = Vec + y*(OTO_Get_Offset(Vec+x+y)/*.y*/) +
x*(OTO_Get_Offset(Vec-y+x+y)/*.x*/) +x+y;
#else
#local Pt1 = Vec + x*(OTO_Get_Offset(Vec)/*.x*/) +
(y*OTO_Get_Offset(Vec+x)/*.y*/);
#local Pt2 = Vec + x*(OTO_Get_Offset(Vec+x+y)/*.x*/) +
y*(OTO_Get_Offset(Vec-x+x+y)/*.y*/) +x+y;
#end
Post a reply to this message
|
|