class char_cube3d

Properties

$bitmap
$bitmap_width
$bitmap_height
$basis_matrix
$abs_x
$abs_y
$x
$y
$z
$letter

Methods

__construct($bitmaps, $letter)

No description

drawchar($scale, $xoff, $yoff, $img, $background, $colours)

Draw a character

range()

No description

vectorlen($vector)

Vector length

normalize($vector, $length = 1)

Normalize

cross_product($vector1, $vector2)

No description

sum($vector1, $vector2)

No description

sum2($vector1, $vector2)

No description

scale($vector, $length)

No description

gen_poly($xoff, $yoff, $vec1, $vec2, $vec3, $vec4)

No description

dimensions($size)

dimensions

Details

at line 32
__construct($bitmaps, $letter)

No description

Parameters

$bitmaps
$letter

at line 118
drawchar($scale, $xoff, $yoff, $img, $background, $colours)

Draw a character

Parameters

$scale
$xoff
$yoff
$img
$background
$colours

at line 168
range()

No description

at line 176
vectorlen($vector)

Vector length

Parameters

$vector

at line 184
normalize($vector, $length = 1)

Normalize

Parameters

$vector
$length

at line 195
cross_product($vector1, $vector2)

No description

Parameters

$vector1
$vector2

at line 207
sum($vector1, $vector2)

No description

Parameters

$vector1
$vector2

at line 214
sum2($vector1, $vector2)

No description

Parameters

$vector1
$vector2

at line 221
scale($vector, $length)

No description

Parameters

$vector
$length

at line 233
gen_poly($xoff, $yoff, $vec1, $vec2, $vec3, $vec4)

No description

Parameters

$xoff
$yoff
$vec1
$vec2
$vec3
$vec4

at line 251
dimensions($size)

dimensions

Parameters

$size