POV-Ray : Newsgroups : povray.newusers : rotate object around its center : rotate object around its center Server Time
28 Jul 2024 16:31:31 EDT (-0400)
  rotate object around its center  
From: Chrisir
Date: 19 May 2008 12:55:00
Message: <web.4831b0126dd87b108d9dd5710@news.povray.org>
Hello!

How can I rotate an object around its center?

I currently use

Rotate_Around_Trans( < 0, 90 , 0 >, < x1, 0.4, y1 > )

with

#include "transforms.inc"

but I don't think it's working.

Does the expression
< 0, 90 , 0 >
mean rotate around y for 90 degrees (and leave x and z as is)?

Because that's what I want to do.

Please tell me whete my current code is wrong or
how to do it.

Thanks!

Greetings,

Chris


Post a reply to this message

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