Hello.

While looking through the evas_types.eot file I stumbled over the enum 
Evas.Canvas3D.State.

I have to say I find the way of resetting the numbering for every group 
to start from 1 again rather odd.

enum Evas.Canvas3D.State
{
    [[State of the Evas 3D

      @since 1.10]]
    max = 16,

    any = 0,

    scene_root_node = 1,
    scene_camera_node,
    scene_background_color,
    scene_size,
    scene_shadows_enabled,
    scene_updated, [[@since 1.14]]
    scene_shadows_depth,
    scene_render_to_texture,

    texture_data = 1,
    texture_wrap,
    texture_filter,

    material_id = 1,
    material_color,
    material_texture,

    mesh_vertex_count = 1,
    mesh_frame,
    mesh_material,
    mesh_transform,
    mesh_vertex_data,
....

With scene_root_node and texture_data both being 2 you might run into 
trouble when comparing states. Maybe not right now when you take extra 
care but others without the extra knowledge to take care of them.

Do I miss anything here?

regards
Stefan Schmidt

------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to