mirror of
https://github.com/Relintai/gdnative_python.git
synced 2024-11-12 10:25:08 +01:00
Force mark render all new methods.
This commit is contained in:
parent
761d6b1bc8
commit
78ccd8b6c1
@ -1,6 +1,33 @@
|
||||
{%- block pxd_header -%}
|
||||
{%- endblock -%}
|
||||
{%- block pyx_header -%}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_aabb_abs") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_expand_to") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_get_center") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_get_edge") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_get_end") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_get_volume") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_grow_by") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_has_no_volume") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_intersects_inclusive") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_intersects_ray") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_intersects_ray_clip") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_intersects_ray_clip_normal") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_intersects_rayv") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_intersects_segment_clip") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_intersects_segment_clip_normal") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_intersects_segmentv") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_intersects_smits_intersect_ray") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_is_equal_approx") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_merge_with") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_project_range_in_plane") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_quantize") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_quantized") }}
|
||||
{{ force_mark_rendered("pandemonium_aabb_set_end") }}
|
||||
|
||||
{%- endblock -%}
|
||||
|
||||
@cython.final
|
||||
|
@ -1,6 +1,25 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_array_append_array") }}
|
||||
{{ force_mark_rendered("pandemonium_array_deep_equal") }}
|
||||
{{ force_mark_rendered("pandemonium_array_deep_equal_recursion_count") }}
|
||||
{{ force_mark_rendered("pandemonium_array_duplicate_deep") }}
|
||||
{{ force_mark_rendered("pandemonium_array_fill") }}
|
||||
{{ force_mark_rendered("pandemonium_array_find_from") }}
|
||||
{{ force_mark_rendered("pandemonium_array_new_pool_vector2i_array") }}
|
||||
{{ force_mark_rendered("pandemonium_array_new_pool_vector3i_array") }}
|
||||
{{ force_mark_rendered("pandemonium_array_new_pool_vector4_array") }}
|
||||
{{ force_mark_rendered("pandemonium_array_new_pool_vector4i_array") }}
|
||||
{{ force_mark_rendered("pandemonium_array_operator_equals") }}
|
||||
{{ force_mark_rendered("pandemonium_array_pop_at") }}
|
||||
{{ force_mark_rendered("pandemonium_array_rfind_from") }}
|
||||
{{ force_mark_rendered("pandemonium_array_slice_step") }}
|
||||
{{ force_mark_rendered("pandemonium_array_slice_step_deep") }}
|
||||
|
||||
{% endblock -%}
|
||||
|
||||
{# TODO: conversion from pool arrays is not supported #}
|
||||
|
@ -2,10 +2,95 @@
|
||||
{%- endblock -%}
|
||||
{%- block pyx_header -%}
|
||||
|
||||
cdef inline Basis Basis_multiply_vector(Basis self, Basis b):
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_basis_diagonalize") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_from_scale") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_from_z") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_axis_angle") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_column") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_euler_xyz") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_euler_xzy") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_euler_yxz") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_euler_yzx") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_euler_zxy") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_euler_zyx") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_main_diagonal") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_normal_xform_basis") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_rotation") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_rotation_axis_angle") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_rotation_axis_angle_local") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_rotation_euler") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_rotation_quaternion") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_scale_abs") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_scale_local") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_get_uniform_scale") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_invert") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_is_diagonal") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_is_equal_approx") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_is_equal_approx_ratio") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_is_equal_approx_ratio_eps") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_is_orthogonal") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_is_rotation") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_is_symmetric") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_lerp") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_looking_at") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_looking_at_up") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_make_scale_uniform") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_new_axis_phi_scale") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_new_euler_scale") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_new_floats") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_new_quaternion_scale") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_orthogonalize") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_orthogonalized") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_orthonormalize") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_rotate") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_rotate_euler") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_rotate_local") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_rotate_quat") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_rotate_sh") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_rotate_to_align") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_rotated_euler") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_rotated_local") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_rotated_quat") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_rotatedq") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_rotatedv") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_rotateq") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_rotatev") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_rotref_posscale_decomposition") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_scale") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_scale_local") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_scale_orthogonal") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_scaled_local") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_scaled_orthogonal") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_axis_angle") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_column") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_columns") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_diagonal") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_euler") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_euler_xyz") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_euler_xzy") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_euler_yxz") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_euler_yzx") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_euler_zxy") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_euler_zyx") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_orthogonal_index") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_real") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_vector3") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_set_zero") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_transpose") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_transpose_xform") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_xform_inv_v3i") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_xform_normal") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_xform_normal_fast") }}
|
||||
{{ force_mark_rendered("pandemonium_basis_xform_v3i") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
cdef inline Basis Basis_multiply(Basis self, Basis b):
|
||||
cdef Basis ret = Basis.__new__(Basis)
|
||||
{{ force_mark_rendered("pandemonium_basis_operator_multiply_vector") }}
|
||||
ret._gd_data = gdapi10.pandemonium_basis_operator_multiply_vector(&self._gd_data, &b._gd_data)
|
||||
{{ force_mark_rendered("pandemonium_basis_operator_multiply") }}
|
||||
ret._gd_data = gdapi10.pandemonium_basis_operator_multiply(&self._gd_data, &b._gd_data)
|
||||
return ret
|
||||
|
||||
cdef inline Basis Basis_multiply_scalar(Basis self, pandemonium_real b):
|
||||
@ -38,8 +123,8 @@ cdef class Basis:
|
||||
except TypeError:
|
||||
pass
|
||||
try:
|
||||
{{ force_mark_rendered("pandemonium_basis_new_with_euler_quat") }}
|
||||
gdapi10.pandemonium_basis_new_with_euler_quat(&ret._gd_data, &(<Quaternion?>from_)._gd_data)
|
||||
{{ force_mark_rendered("pandemonium_basis_new_with_euler_quaternion") }}
|
||||
gdapi10.pandemonium_basis_new_with_euler_quaternion(&ret._gd_data, &(<Quaternion?>from_)._gd_data)
|
||||
return ret
|
||||
except TypeError:
|
||||
raise TypeError('`from_` must be Quaternion or Vector3')
|
||||
|
@ -2,6 +2,56 @@
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
from libc.stdint cimport uint8_t
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_color_clamp") }}
|
||||
{{ force_mark_rendered("pandemonium_color_color8") }}
|
||||
{{ force_mark_rendered("pandemonium_color_color8_alpha") }}
|
||||
{{ force_mark_rendered("pandemonium_color_contrast") }}
|
||||
{{ force_mark_rendered("pandemonium_color_from_rgbe9995") }}
|
||||
{{ force_mark_rendered("pandemonium_color_get_a8") }}
|
||||
{{ force_mark_rendered("pandemonium_color_get_b8") }}
|
||||
{{ force_mark_rendered("pandemonium_color_get_g8") }}
|
||||
{{ force_mark_rendered("pandemonium_color_get_luminance") }}
|
||||
{{ force_mark_rendered("pandemonium_color_get_r8") }}
|
||||
{{ force_mark_rendered("pandemonium_color_hex") }}
|
||||
{{ force_mark_rendered("pandemonium_color_hex64") }}
|
||||
{{ force_mark_rendered("pandemonium_color_html") }}
|
||||
{{ force_mark_rendered("pandemonium_color_html_is_valid") }}
|
||||
{{ force_mark_rendered("pandemonium_color_invert") }}
|
||||
{{ force_mark_rendered("pandemonium_color_is_equal_approx") }}
|
||||
{{ force_mark_rendered("pandemonium_color_named") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_add") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_add_eq") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_div_color") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_div_color_eq") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_div_real") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_div_real_eq") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_index") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_index_const") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_mul_color") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_mul_color_eq") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_mul_real") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_mul_real_eq") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_negate") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_sub") }}
|
||||
{{ force_mark_rendered("pandemonium_color_operator_sub_eq") }}
|
||||
{{ force_mark_rendered("pandemonium_color_set_a8") }}
|
||||
{{ force_mark_rendered("pandemonium_color_set_b8") }}
|
||||
{{ force_mark_rendered("pandemonium_color_set_g8") }}
|
||||
{{ force_mark_rendered("pandemonium_color_set_h") }}
|
||||
{{ force_mark_rendered("pandemonium_color_set_hsv") }}
|
||||
{{ force_mark_rendered("pandemonium_color_set_hsv_alpha") }}
|
||||
{{ force_mark_rendered("pandemonium_color_set_r8") }}
|
||||
{{ force_mark_rendered("pandemonium_color_set_s") }}
|
||||
{{ force_mark_rendered("pandemonium_color_set_v") }}
|
||||
{{ force_mark_rendered("pandemonium_color_to_linear") }}
|
||||
{{ force_mark_rendered("pandemonium_color_to_rgbe9995") }}
|
||||
{{ force_mark_rendered("pandemonium_color_to_srgb") }}
|
||||
|
||||
|
||||
|
||||
{% endblock -%}
|
||||
|
||||
|
||||
|
@ -1,6 +1,16 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_dictionary_deep_equal") }}
|
||||
{{ force_mark_rendered("pandemonium_dictionary_deep_equal_recursion_count") }}
|
||||
{{ force_mark_rendered("pandemonium_dictionary_merge") }}
|
||||
{{ force_mark_rendered("pandemonium_dictionary_merge_overwrite") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
{% endblock -%}
|
||||
|
||||
{# We can't do const in Python #}
|
||||
|
@ -4,6 +4,122 @@
|
||||
from libc.stdint cimport int8_t
|
||||
{% endblock -%}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_char_16_string_destroy") }}
|
||||
{{ force_mark_rendered("pandemonium_char_16_string_get") }}
|
||||
{{ force_mark_rendered("pandemonium_char_16_string_get_data") }}
|
||||
{{ force_mark_rendered("pandemonium_char_16_string_length") }}
|
||||
{{ force_mark_rendered("pandemonium_char_16_string_resize") }}
|
||||
{{ force_mark_rendered("pandemonium_char_16_string_set") }}
|
||||
{{ force_mark_rendered("pandemonium_char_16_string_size") }}
|
||||
{{ force_mark_rendered("pandemonium_char_string_get") }}
|
||||
{{ force_mark_rendered("pandemonium_char_string_resize") }}
|
||||
{{ force_mark_rendered("pandemonium_char_string_set") }}
|
||||
{{ force_mark_rendered("pandemonium_char_string_size") }}
|
||||
|
||||
{{ force_mark_rendered("pandemonium_string_append_path") }}
|
||||
{{ force_mark_rendered("pandemonium_string_append_pathc") }}
|
||||
{{ force_mark_rendered("pandemonium_string_bool_num") }}
|
||||
{{ force_mark_rendered("pandemonium_string_bool_str") }}
|
||||
{{ force_mark_rendered("pandemonium_string_char_to_float") }}
|
||||
{{ force_mark_rendered("pandemonium_string_chars_to_utf16") }}
|
||||
{{ force_mark_rendered("pandemonium_string_chars_to_utf16_with_len") }}
|
||||
{{ force_mark_rendered("pandemonium_string_clear") }}
|
||||
{{ force_mark_rendered("pandemonium_string_contains") }}
|
||||
{{ force_mark_rendered("pandemonium_string_containsc") }}
|
||||
{{ force_mark_rendered("pandemonium_string_find_char") }}
|
||||
{{ force_mark_rendered("pandemonium_string_find_char_from") }}
|
||||
{{ force_mark_rendered("pandemonium_string_find_first_difference_index") }}
|
||||
{{ force_mark_rendered("pandemonium_string_findc") }}
|
||||
{{ force_mark_rendered("pandemonium_string_findc_from") }}
|
||||
{{ force_mark_rendered("pandemonium_string_get") }}
|
||||
{{ force_mark_rendered("pandemonium_string_get_data") }}
|
||||
{{ force_mark_rendered("pandemonium_string_get_invalid_node_name_characters") }}
|
||||
{{ force_mark_rendered("pandemonium_string_get_with_code_lines") }}
|
||||
{{ force_mark_rendered("pandemonium_string_hash_wchar") }}
|
||||
{{ force_mark_rendered("pandemonium_string_hash_wchar_with_len") }}
|
||||
{{ force_mark_rendered("pandemonium_string_hashc") }}
|
||||
{{ force_mark_rendered("pandemonium_string_hashc_with_len") }}
|
||||
{{ force_mark_rendered("pandemonium_string_indent") }}
|
||||
{{ force_mark_rendered("pandemonium_string_is_enclosed_in") }}
|
||||
{{ force_mark_rendered("pandemonium_string_is_network_share_path") }}
|
||||
{{ force_mark_rendered("pandemonium_string_is_quoted") }}
|
||||
{{ force_mark_rendered("pandemonium_string_is_valid_bool") }}
|
||||
{{ force_mark_rendered("pandemonium_string_is_valid_filename") }}
|
||||
{{ force_mark_rendered("pandemonium_string_is_valid_string") }}
|
||||
{{ force_mark_rendered("pandemonium_string_is_valid_unsigned_integer") }}
|
||||
{{ force_mark_rendered("pandemonium_string_is_word_at") }}
|
||||
{{ force_mark_rendered("pandemonium_string_is_word_atc") }}
|
||||
{{ force_mark_rendered("pandemonium_string_is_zero") }}
|
||||
{{ force_mark_rendered("pandemonium_string_join") }}
|
||||
{{ force_mark_rendered("pandemonium_string_lstrip") }}
|
||||
{{ force_mark_rendered("pandemonium_string_name_new_data_char") }}
|
||||
{{ force_mark_rendered("pandemonium_string_name_new_data_string") }}
|
||||
{{ force_mark_rendered("pandemonium_string_name_new_datac") }}
|
||||
{{ force_mark_rendered("pandemonium_string_new_char") }}
|
||||
{{ force_mark_rendered("pandemonium_string_new_char_clip_to_len") }}
|
||||
{{ force_mark_rendered("pandemonium_string_new_wchar") }}
|
||||
{{ force_mark_rendered("pandemonium_string_newc") }}
|
||||
{{ force_mark_rendered("pandemonium_string_newc_clip_to_len") }}
|
||||
{{ force_mark_rendered("pandemonium_string_newline_to_br") }}
|
||||
{{ force_mark_rendered("pandemonium_string_num_characters") }}
|
||||
{{ force_mark_rendered("pandemonium_string_num_uint64") }}
|
||||
{{ force_mark_rendered("pandemonium_string_num_uint64_capitalized") }}
|
||||
{{ force_mark_rendered("pandemonium_string_pandemonium_char_to_double") }}
|
||||
{{ force_mark_rendered("pandemonium_string_pandemonium_char_to_float") }}
|
||||
{{ force_mark_rendered("pandemonium_string_parse_url") }}
|
||||
{{ force_mark_rendered("pandemonium_string_parse_utf16") }}
|
||||
{{ force_mark_rendered("pandemonium_string_parse_utf16_with_len") }}
|
||||
{{ force_mark_rendered("pandemonium_string_parse_utf8_with_len_skip_cr") }}
|
||||
{{ force_mark_rendered("pandemonium_string_path_clean_end_slash") }}
|
||||
{{ force_mark_rendered("pandemonium_string_path_ensure_end_slash") }}
|
||||
{{ force_mark_rendered("pandemonium_string_path_get_prev_dir") }}
|
||||
{{ force_mark_rendered("pandemonium_string_print_unicode_error") }}
|
||||
{{ force_mark_rendered("pandemonium_string_property_name_encode") }}
|
||||
{{ force_mark_rendered("pandemonium_string_quote") }}
|
||||
{{ force_mark_rendered("pandemonium_string_quote_quotechar") }}
|
||||
{{ force_mark_rendered("pandemonium_string_remove") }}
|
||||
{{ force_mark_rendered("pandemonium_string_repeat") }}
|
||||
{{ force_mark_rendered("pandemonium_string_replacec") }}
|
||||
{{ force_mark_rendered("pandemonium_string_resize") }}
|
||||
{{ force_mark_rendered("pandemonium_string_rsplit_allow_empty") }}
|
||||
{{ force_mark_rendered("pandemonium_string_rsplit_maxsplit") }}
|
||||
{{ force_mark_rendered("pandemonium_string_set") }}
|
||||
{{ force_mark_rendered("pandemonium_string_set_length") }}
|
||||
{{ force_mark_rendered("pandemonium_string_sha1_buffer") }}
|
||||
{{ force_mark_rendered("pandemonium_string_sha1_text") }}
|
||||
{{ force_mark_rendered("pandemonium_string_size") }}
|
||||
{{ force_mark_rendered("pandemonium_string_split_floats_allow_empty") }}
|
||||
{{ force_mark_rendered("pandemonium_string_split_floats_mk_allow_empty") }}
|
||||
{{ force_mark_rendered("pandemonium_string_split_ints_allow_empty") }}
|
||||
{{ force_mark_rendered("pandemonium_string_split_ints_mk_allow_empty") }}
|
||||
{{ force_mark_rendered("pandemonium_string_split_maxsplit") }}
|
||||
{{ force_mark_rendered("pandemonium_string_substr_index") }}
|
||||
{{ force_mark_rendered("pandemonium_string_to_ascii_buffer") }}
|
||||
{{ force_mark_rendered("pandemonium_string_to_bool") }}
|
||||
{{ force_mark_rendered("pandemonium_string_to_intc") }}
|
||||
{{ force_mark_rendered("pandemonium_string_to_intc_len") }}
|
||||
{{ force_mark_rendered("pandemonium_string_to_intc_len_clamp") }}
|
||||
{{ force_mark_rendered("pandemonium_string_to_uint") }}
|
||||
{{ force_mark_rendered("pandemonium_string_to_utf16_buffer") }}
|
||||
{{ force_mark_rendered("pandemonium_string_to_utf32_buffer") }}
|
||||
{{ force_mark_rendered("pandemonium_string_to_utf8_buffer") }}
|
||||
{{ force_mark_rendered("pandemonium_string_unicode_at") }}
|
||||
{{ force_mark_rendered("pandemonium_string_unquote") }}
|
||||
{{ force_mark_rendered("pandemonium_string_uri_decode") }}
|
||||
{{ force_mark_rendered("pandemonium_string_uri_encode") }}
|
||||
{{ force_mark_rendered("pandemonium_string_utf16") }}
|
||||
{{ force_mark_rendered("pandemonium_string_utf16_byte_length") }}
|
||||
{{ force_mark_rendered("pandemonium_string_utf8_byte_length") }}
|
||||
{{ force_mark_rendered("pandemonium_string_validate_identifier") }}
|
||||
{{ force_mark_rendered("pandemonium_string_validate_node_name") }}
|
||||
{{ force_mark_rendered("pandemonium_string_wchar_to_double") }}
|
||||
{{ force_mark_rendered("pandemonium_string_wchar_to_float") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
|
||||
{# pandemonium_char_string is not really a bultin type...#}
|
||||
{{ force_mark_rendered("pandemonium_char_string_destroy") }}
|
||||
{{ force_mark_rendered("pandemonium_char_string_get_data") }}
|
||||
@ -36,8 +152,6 @@ from libc.stdint cimport int8_t
|
||||
{{ force_mark_rendered("pandemonium_string_hash64") }}
|
||||
{{ force_mark_rendered("pandemonium_string_hash_chars") }}
|
||||
{{ force_mark_rendered("pandemonium_string_hash_chars_with_len") }}
|
||||
{{ force_mark_rendered("pandemonium_string_hash_utf8_chars") }}
|
||||
{{ force_mark_rendered("pandemonium_string_hash_utf8_chars_with_len") }}
|
||||
{{ force_mark_rendered("pandemonium_string_hex_encode_buffer") }}
|
||||
{{ force_mark_rendered("pandemonium_string_hex_to_int64") }}
|
||||
{{ force_mark_rendered("pandemonium_string_hex_to_int64_with_prefix") }}
|
||||
@ -52,7 +166,6 @@ from libc.stdint cimport int8_t
|
||||
{{ force_mark_rendered("pandemonium_string_name_get_hash") }}
|
||||
{{ force_mark_rendered("pandemonium_string_name_get_name") }}
|
||||
{{ force_mark_rendered("pandemonium_string_name_new") }}
|
||||
{{ force_mark_rendered("pandemonium_string_name_new_data") }}
|
||||
{{ force_mark_rendered("pandemonium_string_name_operator_equal") }}
|
||||
{{ force_mark_rendered("pandemonium_string_name_operator_less") }}
|
||||
{{ force_mark_rendered("pandemonium_string_naturalnocasecmp_to") }}
|
||||
@ -75,21 +188,15 @@ from libc.stdint cimport int8_t
|
||||
{{ force_mark_rendered("pandemonium_string_rpad_with_custom_character") }}
|
||||
{{ force_mark_rendered("pandemonium_string_simplify_path") }}
|
||||
{{ force_mark_rendered("pandemonium_string_split_allow_empty") }}
|
||||
{{ force_mark_rendered("pandemonium_string_split_floats_allows_empty") }}
|
||||
{{ force_mark_rendered("pandemonium_string_split_floats_mk") }}
|
||||
{{ force_mark_rendered("pandemonium_string_split_floats_mk_allows_empty") }}
|
||||
{{ force_mark_rendered("pandemonium_string_split_ints") }}
|
||||
{{ force_mark_rendered("pandemonium_string_split_ints_allows_empty") }}
|
||||
{{ force_mark_rendered("pandemonium_string_split_ints_mk") }}
|
||||
{{ force_mark_rendered("pandemonium_string_split_ints_mk_allows_empty") }}
|
||||
{{ force_mark_rendered("pandemonium_string_split_spaces") }}
|
||||
{{ force_mark_rendered("pandemonium_string_sprintf") }}
|
||||
{{ force_mark_rendered("pandemonium_string_to_double") }}
|
||||
{{ force_mark_rendered("pandemonium_string_to_int64") }}
|
||||
{{ force_mark_rendered("pandemonium_string_unicode_char_to_double") }}
|
||||
{{ force_mark_rendered("pandemonium_string_utf8") }}
|
||||
{{ force_mark_rendered("pandemonium_string_wchar_to_int") }}
|
||||
{{ force_mark_rendered("pandemonium_string_wide_str") }}
|
||||
{{ force_mark_rendered("pandemonium_string_word_wrap") }}
|
||||
{{ force_mark_rendered("pandemonium_string_xml_escape_with_quotes") }}
|
||||
|
||||
@ -125,10 +232,10 @@ cdef class GDString:
|
||||
|
||||
@staticmethod
|
||||
cdef inline GDString new_with_wide_string(wchar_t *content, int size):
|
||||
{{ force_mark_rendered("pandemonium_string_new_with_wide_string") }}
|
||||
{{ force_mark_rendered("pandemonium_string_new_wchar_clip_to_len") }}
|
||||
# Call to __new__ bypasses __init__ constructor
|
||||
cdef GDString ret = GDString.__new__(GDString)
|
||||
gdapi10.pandemonium_string_new_with_wide_string(&ret._gd_data, content, size)
|
||||
gdapi10.pandemonium_string_new_wchar_clip_to_len(&ret._gd_data, content, size)
|
||||
return ret
|
||||
|
||||
@staticmethod
|
||||
|
@ -3,6 +3,17 @@
|
||||
{%- block pyx_header %}
|
||||
{% endblock -%}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_node_path_get_sname") }}
|
||||
{{ force_mark_rendered("pandemonium_node_path_hash") }}
|
||||
{{ force_mark_rendered("pandemonium_node_path_prepend_period") }}
|
||||
{{ force_mark_rendered("pandemonium_node_path_rel_path_to") }}
|
||||
{{ force_mark_rendered("pandemonium_node_path_simplified") }}
|
||||
{{ force_mark_rendered("pandemonium_node_path_simplify") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_node_path_new_copy") }} {# NodePath is const, why does this exists in the first place ? #}
|
||||
|
||||
@cython.final
|
||||
|
@ -1,6 +1,17 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_plane_get_any_perpendicular_normal") }}
|
||||
{{ force_mark_rendered("pandemonium_plane_is_equal_approx") }}
|
||||
{{ force_mark_rendered("pandemonium_plane_is_equal_approx_any_side") }}
|
||||
{{ force_mark_rendered("pandemonium_plane_normalize") }}
|
||||
|
||||
#END TODO
|
||||
|
||||
|
||||
{% endblock -%}
|
||||
|
||||
|
||||
|
@ -1,6 +1,73 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_projection_add_jitter_offset") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_adjust_perspective_znear") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_calculate_fovy") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_create_depth_correction") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_create_fit_aabb") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_create_for_hmd") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_create_frustum") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_create_frustum_aspect") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_create_light_atlas_rect") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_create_orthogonal") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_create_orthogonal_aspect") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_create_perspective") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_create_perspective_hmd") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_determinant") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_flip_y") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_flipped_y") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_get_aspect") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_get_endpoints") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_get_far_plane_half_extents") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_get_fov") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_get_fovy") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_get_lod_multiplier") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_get_pixels_per_meter") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_get_projection_plane") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_get_projection_planes_array") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_get_viewport_half_extents") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_get_z_far") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_get_z_near") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_inverse") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_invert") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_is_orthogonal") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_jitter_offseted") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_make_scale") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_new_from_projection") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_operator_equal") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_operator_index") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_operator_index_const") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_operator_mul") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_perspective_znear_adjusted") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_scale_translate_to_fit") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_depth_correction") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_depth_correction_flip") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_for_hmd") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_frustum1") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_frustum2") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_frustum2_flip_fov") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_identity") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_light_atlas_rect") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_light_bias") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_orthogonal1") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_orthogonal2") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_orthogonal2_flip_fov") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_perspective1") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_perspective1_flip_fov") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_perspective2") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_set_zero") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_to_transform") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_xform_inv_vector4") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_xform_plane") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_xform_vector3") }}
|
||||
{{ force_mark_rendered("pandemonium_projection_xform_vector4") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
{% endblock -%}
|
||||
|
||||
|
||||
|
@ -1,6 +1,30 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_quaternion_angle_to") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_exp") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_get_angle") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_get_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_get_axis_angle") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_get_euler") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_get_euler_xyz") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_get_euler_yxz") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_is_equal_approx") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_log") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_new_shortest_arc") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_normalize") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_operator_mul_eq") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_set") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_set_euler") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_set_euler_xyz") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_set_euler_yxz") }}
|
||||
{{ force_mark_rendered("pandemonium_quaternion_spherical_cubic_interpolate") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
{% endblock -%}
|
||||
|
||||
|
||||
@ -12,31 +36,31 @@ cdef class Quaternion:
|
||||
|
||||
{% block python_defs %}
|
||||
def __init__(self, x=0, y=0, z=0, w=0):
|
||||
{{ force_mark_rendered("pandemonium_quat_new") }}
|
||||
gdapi10.pandemonium_quat_new(&self._gd_data, x, y, z, w)
|
||||
{{ force_mark_rendered("pandemonium_quaternion_new") }}
|
||||
gdapi10.pandemonium_quaternion_new(&self._gd_data, x, y, z, w)
|
||||
|
||||
@staticmethod
|
||||
def from_axis_angle(Vector3 axis not None, pandemonium_real angle):
|
||||
# Call to __new__ bypasses __init__ constructor
|
||||
cdef Quaternion ret = Quaternion.__new__(Quaternion)
|
||||
{{ force_mark_rendered("pandemonium_quat_new_with_axis_angle") }}
|
||||
gdapi10.pandemonium_quat_new_with_axis_angle(&ret._gd_data, &axis._gd_data, angle)
|
||||
{{ force_mark_rendered("pandemonium_quaternion_new_with_axis_angle") }}
|
||||
gdapi10.pandemonium_quaternion_new_with_axis_angle(&ret._gd_data, &axis._gd_data, angle)
|
||||
return ret
|
||||
|
||||
@staticmethod
|
||||
def from_basis(Basis basis not None):
|
||||
# Call to __new__ bypasses __init__ constructor
|
||||
cdef Quaternion ret = Quaternion.__new__(Quaternion)
|
||||
{{ force_mark_rendered("pandemonium_quat_new_with_basis") }}
|
||||
gdapi11.pandemonium_quat_new_with_basis(&ret._gd_data, &basis._gd_data)
|
||||
{{ force_mark_rendered("pandemonium_quaternion_new_with_basis") }}
|
||||
gdapi11.pandemonium_quaternion_new_with_basis(&ret._gd_data, &basis._gd_data)
|
||||
return ret
|
||||
|
||||
@staticmethod
|
||||
def from_euler(Vector3 euler not None):
|
||||
# Call to __new__ bypasses __init__ constructor
|
||||
cdef Quaternion ret = Quaternion.__new__(Quaternion)
|
||||
{{ force_mark_rendered("pandemonium_quat_new_with_euler") }}
|
||||
gdapi11.pandemonium_quat_new_with_euler(&ret._gd_data, &euler._gd_data)
|
||||
{{ force_mark_rendered("pandemonium_quaternion_new_with_euler") }}
|
||||
gdapi11.pandemonium_quaternion_new_with_euler(&ret._gd_data, &euler._gd_data)
|
||||
return ret
|
||||
|
||||
def __repr__(Quaternion self):
|
||||
@ -58,8 +82,8 @@ cdef class Quaternion:
|
||||
if val == 0:
|
||||
raise ZeroDivisionError
|
||||
cdef Quaternion ret = Quaternion.__new__(Quaternion)
|
||||
{{ force_mark_rendered("pandemonium_quat_operator_divide") }}
|
||||
ret._gd_data = gdapi10.pandemonium_quat_operator_divide(&self._gd_data, val)
|
||||
{{ force_mark_rendered("pandemonium_quaternion_operator_divide") }}
|
||||
ret._gd_data = gdapi10.pandemonium_quaternion_operator_divide(&self._gd_data, val)
|
||||
return ret
|
||||
|
||||
{{ render_property("x", getter="get_x", setter="set_x") | indent }}
|
||||
|
@ -1,6 +1,26 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_rect2_distance_to") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2_expand_to") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2_get_center") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2_get_end") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2_get_support") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2_grow_by") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2_grow_side") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2_intersection") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2_intersects_segment") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2_intersects_segment_pos") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2_intersects_segment_pos_normal") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2_intersects_transformed") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2_is_equal_approx") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2_set_end") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
{% endblock -%}
|
||||
|
||||
|
||||
|
@ -1,6 +1,33 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_rect2i_abs") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_clip") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_encloses") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_expand") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_expand_to") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_get_area") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_get_center") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_get_end") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_grow") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_grow_by") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_grow_individual") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_grow_margin") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_grow_side") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_has_no_area") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_has_point") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_intersection") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_intersects") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_merge") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_new_from_rect2") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_set_end") }}
|
||||
{{ force_mark_rendered("pandemonium_rect2i_to_rect2") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
{% endblock -%}
|
||||
|
||||
|
||||
|
@ -1,6 +1,45 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_transform_affine_invert") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_interpolate_with") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_inverse_xform") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_invert") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_is_equal_approx") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_orthogonalize") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_orthogonalized") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_orthonormalize") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_rotate") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_rotate_basis") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_rotate_local") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_rotated_local") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_scale") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_scale_basis") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_scaled_local") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_set") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_set_look_at") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_spherical_interpolate_with") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_translate_localr") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_translate_localv") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_translated_local") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_xform_fast") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_xform_inv_fast") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_xform_inv_pool_vector2") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_xform_inv_pool_vector2i") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_xform_inv_pool_vector3") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_xform_inv_pool_vector3i") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_xform_inv_vector3i") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_xform_pool_vector2") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_xform_pool_vector2i") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_xform_pool_vector3") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_xform_pool_vector3i") }}
|
||||
{{ force_mark_rendered("pandemonium_transform_xform_vector3i") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
{% endblock -%}
|
||||
|
||||
|
||||
@ -33,10 +72,10 @@ cdef class Transform:
|
||||
return ret
|
||||
|
||||
@staticmethod
|
||||
def from_quat(Quaternion quat not None):
|
||||
def from_quaternion(Quaternion quat not None):
|
||||
cdef Transform ret = Transform.__new__(Transform)
|
||||
{{ force_mark_rendered("pandemonium_transform_new_with_quat") }}
|
||||
gdapi11.pandemonium_transform_new_with_quat(&ret._gd_data, &quat._gd_data)
|
||||
{{ force_mark_rendered("pandemonium_transform_new_with_quaternion") }}
|
||||
gdapi11.pandemonium_transform_new_with_quaternion(&ret._gd_data, &quat._gd_data)
|
||||
return ret
|
||||
|
||||
def __repr__(Transform self):
|
||||
|
@ -1,6 +1,47 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_transform2d_affine_invert") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_basis_determinant") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_basis_scaled") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_basis_xform") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_basis_xform_inv") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_get_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_get_column") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_get_skew") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_invert") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_is_equal_approx") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_looking_at") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_orthonormalize") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_rotate") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_rotated_local") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_scale") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_scale_basis") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_scaled_local") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_set_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_set_column") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_set_origin") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_set_rotation") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_set_rotation_and_scale") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_set_rotation_scale_and_skew") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_set_scale") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_set_skew") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_tdotx") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_tdoty") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_translate_localr") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_translate_localv") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_translated_local") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_translater") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_translatev") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_untranslated") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_xform_inv_vector2i") }}
|
||||
{{ force_mark_rendered("pandemonium_transform2d_xform_vector2i") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
{% endblock -%}
|
||||
|
||||
|
||||
|
@ -1,6 +1,37 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_vector2_bezier_interpolate") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_ceil") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_cross") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_get_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_is_equal_approx") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_max") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_max_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_min") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_min_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_normalize") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_operator_index") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_operator_index_const") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_orthogonal") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_plane_project") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_posmod") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_posmodv") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_project") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_round") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_set_all") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_set_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_set_rotation") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_sign") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2_slerp") }}
|
||||
|
||||
|
||||
# END TODO
|
||||
|
||||
|
||||
from pandemonium._hazmat.gdnative_api_struct cimport pandemonium_vector2_axis
|
||||
import math
|
||||
|
||||
|
@ -1,6 +1,33 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_vector2i_abs") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_aspect") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_clamp") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_get_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_length") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_length_squared") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_linear_interpolate") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_max") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_max_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_min") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_min_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_operator_divide_scalar") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_operator_divide_vector") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_operator_index") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_operator_index_const") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_operator_multiply_scalar") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_operator_multiply_vector") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_set_all") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_set_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_sign") }}
|
||||
{{ force_mark_rendered("pandemonium_vector2i_to_vector2") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
from pandemonium._hazmat.gdnative_api_struct cimport pandemonium_vector2i_axis
|
||||
{% endblock -%}
|
||||
|
||||
|
@ -1,6 +1,39 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_vector3_bezier_interpolate") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_clamp") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_get_x") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_get_y") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_get_z") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_is_equal_approx") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_is_equal_approx_tolerance") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_is_equal_approxt") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_limit_length") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_limit_length_len") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_normalize") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_operator_index") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_operator_index_const") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_posmod") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_posmodv") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_project") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_rotate") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_round") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_set_all") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_set_x") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_set_y") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_set_z") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_sign") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_signed_angle_to") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_slerp") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_snap") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3_zero") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
from pandemonium._hazmat.gdnative_api_struct cimport pandemonium_vector3_axis
|
||||
|
||||
import math
|
||||
|
@ -1,6 +1,35 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_vector3i_abs") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_clamp") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_get_x") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_get_y") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_get_z") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_length") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_length_squared") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_linear_interpolate") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_max_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_min_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_operator_divide_scalar") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_operator_divide_vector") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_operator_index") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_operator_index_const") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_operator_multiply_scalar") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_operator_multiply_vector") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_set_all") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_set_x") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_set_y") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_set_z") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_sign") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_to_vector3") }}
|
||||
{{ force_mark_rendered("pandemonium_vector3i_zero") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
from pandemonium._hazmat.gdnative_api_struct cimport pandemonium_vector3i_axis
|
||||
{% endblock -%}
|
||||
|
||||
|
@ -1,6 +1,51 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_vector4_abs") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_ceil") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_clamp") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_cubic_interpolate") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_direction_to") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_distance_squared_to") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_distance_to") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_dot") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_floor") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_get_w") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_get_x") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_get_y") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_get_z") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_inverse") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_is_equal_approx") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_is_normalized") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_length") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_length_squared") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_limit_length") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_limit_length_len") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_linear_interpolate") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_max_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_min_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_normalize") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_normalized") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_operator_index") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_operator_index_const") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_posmod") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_posmodv") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_round") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_set_all") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_set_w") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_set_x") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_set_y") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_set_z") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_sign") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_snap") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_snapped") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4_zero") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
from pandemonium._hazmat.gdnative_api_struct cimport pandemonium_vector4_axis
|
||||
|
||||
import math
|
||||
|
@ -1,6 +1,37 @@
|
||||
{%- block pxd_header %}
|
||||
{% endblock -%}
|
||||
{%- block pyx_header %}
|
||||
|
||||
# TODO
|
||||
|
||||
{{ force_mark_rendered("pandemonium_vector4i_abs") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_clamp") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_get_w") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_get_x") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_get_y") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_get_z") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_length") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_length_squared") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_linear_interpolate") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_max_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_min_axis") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_operator_divide_scalar") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_operator_divide_vector") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_operator_index") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_operator_index_const") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_operator_multiply_scalar") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_operator_multiply_vector") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_set_all") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_set_w") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_set_x") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_set_y") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_set_z") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_sign") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_to_vector4") }}
|
||||
{{ force_mark_rendered("pandemonium_vector4i_zero") }}
|
||||
|
||||
# END TODO
|
||||
|
||||
from pandemonium._hazmat.gdnative_api_struct cimport pandemonium_vector4i_axis
|
||||
{% endblock -%}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user