POV-Ray : Newsgroups : povray.general : Position after rotation : Re: Position after rotation Server Time
6 Oct 2024 09:07:49 EDT (-0400)
  Re: Position after rotation  
From: Le Forgeron
Date: 12 Apr 2014 03:07:24
Message: <5348e62c$1@news.povray.org>
Le 11/04/2014 23:05, pbrants nous fit lire :
> Where can I retrieve the new position after a rotation (or transformation in
> general) of a point (let's say a center of a sphere or box) when I need that for
> future references or calculations?
> 
> Paul
> 
> 
use vtransform from transforms.inc.

 vtransform(vec, trans)

See also:

> http://wiki.povray.org/content/Documentation:Tutorial_Section_2.2#Transformations

and

> http://wiki.povray.org/content/Reference:Transforms.inc


Post a reply to this message

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