Project

General

Profile

« Previous | Next » 

Revision d7829514

Added by Leszek Koltunski almost 4 years ago

1) Cube: convert it to the latest library. Main difference: objects are rendered better, individual cubits have rounded corners.
2) Examples: some adjustments to MeshJoin & Predeform
3) Library: fix a bug in main_vertex_shader's 'degree' function, which didn't work proprely in case of a vertex which was exactly at the center (i.e. vector PS was zero)

View differences:

src/main/res/layout/meshjoinlayout.xml
29 29
            android:text="@string/color_yellow"
30 30
            android:onClick="onClick"
31 31
            android:layout_weight="1"
32
            android:checked="true"/>
32
            android:checked="false"/>
33 33
        <CheckBox
34 34
            android:layout_width="wrap_content"
35 35
            android:layout_height="match_parent"
......
37 37
            android:text="@string/color_green"
38 38
            android:onClick="onClick"
39 39
            android:layout_weight="1"
40
            android:checked="true"/>
40
            android:checked="false"/>
41 41
        <CheckBox
42 42
            android:layout_width="wrap_content"
43 43
            android:layout_height="match_parent"
......
45 45
            android:text="@string/color_blue"
46 46
            android:onClick="onClick"
47 47
            android:layout_weight="1"
48
            android:checked="true"/>
48
            android:checked="false"/>
49 49
        <CheckBox
50 50
            android:layout_width="wrap_content"
51 51
            android:layout_height="match_parent"
......
53 53
            android:text="@string/color_red"
54 54
            android:onClick="onClick"
55 55
            android:layout_weight="1"
56
            android:checked="true"/>
56
            android:checked="false"/>
57 57

  
58 58
    </LinearLayout>
59 59

  

Also available in: Unified diff