Home
last modified time | relevance | path

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

/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsRenderer.cpp103 teapot_y_ = numY; in Init()
105 vec_mat_models_.reserve( teapot_x_ * teapot_y_ * teapot_z_ ); in Init()
111 float gap_y = total_width / (teapot_y_ - 1); in Init()
118 for( int32_t iY = 0; iY < teapot_y_; ++iY ) 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.h104 int32_t teapot_y_; variable