|
|
Ilya Razmanov <ily### [at] gmailcom> wrote:
> I have a weird problems with some prisms. Please see the file attached,
> it's tiny example. As you can see, both hexagonal prisms and their
> translations are calculated using school math; moreover, when it comes
> to irrational floats, the same values are used whenever possible via
> declaring the variable, so it have no choice but match. Still, there is
> a gap between objects in vertical direction.
>
> I'm out of ideas regarding the cause of it. Any inspiration?
The geometry of the hexagons is off. Replacing all occurrences of 0.25 with
revsqrtof3/2 will fix it.
Post a reply to this message
|
|