Home
last modified time | relevance | path

Searched refs:teapot_z_ (Results 1 – 2 of 2) sorted by relevance

/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsRenderer.cpp104 teapot_z_ = numZ; in Init()
105 vec_mat_models_.reserve( teapot_x_ * teapot_y_ * teapot_z_ ); in Init()
112 float gap_z = total_width / (teapot_z_ - 1); in Init()
119 for( int32_t iZ = 0; iZ < teapot_z_; ++iZ ) in Init()
140 param[std::string( "%NUM_TEAPOT%" )] = ToString( teapot_x_ * teapot_y_ * teapot_z_ ); in Init()
180 int32_t iSize = teapot_x_ * teapot_y_ * teapot_z_ in Init()
183 float* pColor = pBuffer + teapot_x_ * teapot_y_ * teapot_z_ * ubo_matrix_stride_ * 2; in Init()
184 for( int32_t i = 0; i < teapot_x_ * teapot_y_ * teapot_z_; ++i ) in Init()
311 teapot_x_ * teapot_y_ * teapot_z_ * (ubo_matrix_stride_ * 2) * sizeof(float), in Render()
314 float* pMVMat = p + teapot_x_ * teapot_y_ * teapot_z_ * ubo_matrix_stride_; in Render()
[all …]
DMoreTeapotsRenderer.h105 int32_t teapot_z_; variable