POV-Ray : Newsgroups : povray.unofficial.patches : Spline bug: floats converted to vectors : Re: Spline bug: floats converted to vectors Server Time
1 Sep 2024 20:21:02 EDT (-0400)
  Re: Spline bug: floats converted to vectors  
From: Margus Ramst
Date: 3 Dec 2000 13:24:21
Message: <3A2A9049.EEF3A868@peak.edu.ee>
Rune wrote:
> 
> Yes, that works in many cases, but vectors such as <0,0,0> and <3,3,3> will
> still be converted to floats 0 and 3 respectively.
> 

Does it matter? They get promoted back to <0,0,0> and <3,3,3> respectively, if a
function requires a vector value.
If you want to use them with e.g. dot operators, you can force vector promotion
with (Float + <0,0,0>)

-- 
Margus Ramst

Personal e-mail: mar### [at] peakeduee
TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.